Wednesday, 2008 December 3, 11:00 — eye-candy, mathematics

Hilbert’s palette

A space-filling path through this square is matched to an analogous path through the color-cube.

I had this idea in mind for years but the algorithm for Hilbert’s curve defeated me; then I stumbled on Steve Witham’s Python code, and whipped up this doodle in half an hour.

Subscribe without commenting

RSS feed for comments on this post.

Leave a comment