Portrait of the Hilbert Curve (2010)

The Hilbert curve is a remarkable construct with outstanding clustering properties in computer science. By laying out records on disk in Hilbert order, it maximizes the likelihood that records in specific rectangular regions will be adjacent on disk. The visualization of the Hilbert curve as a traversal of the RGB color space is absolutely beautiful and resembles abstract art. The algorithm for calculating coordinates or offsets on an N-dimensional Hilbert curve is complex but well-described in the paper by Chris Hamilton. The Zigzag visualization introduced previously fails to capture the smooth and continuous traversal of colors in the RGB color space that the Hilbert curve achieves.

https://corte.si/posts/code/hilbert/portrait/

To top