Julia set: Difference between revisions
Content added Content deleted
m (Ada: Complex functions not needed) |
m (→Naive approach) |
||
Line 1,650: | Line 1,650: | ||
i -= 1 |
i -= 1 |
||
# convert byte to RGB (3 bytes), kinda magic to get nice colors |
# convert byte to RGB (3 bytes), kinda magic to get nice colors |
||
pix[x |
pix[x][y] = (i << 21) + (i << 10) + i*8 |
||
bitmap.show()</lang> |
bitmap.show()</lang> |