Julia set: Difference between revisions

Content added Content deleted
m (Ada: Complex functions not needed)
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,y] = (i << 21) + (i << 10) + i*8
pix[x][y] = (i << 21) + (i << 10) + i*8
bitmap.show()</lang>
bitmap.show()</lang>