search
Thursday, 2007 July 5, 08:37 — eye-candy, mathematics

16 million colors

Nearly eight hours in the making, here it is: all the 24-bit colors in a tasteful, tilable fractal arrangement — 16million.png.gz (1 megabyte). And since Mads asked for it, the Python sourcecode: two files.

Another way to flatten the color cube is by traversing both the cube and the square with Hilbert curves, and continuously mapping one to the other. I’ll try that, one of these weeks.

Subscribe without commenting

RSS feed for comments on this post.

Leave a comment