Ben Gordon

A 3D Hilbert Curve Sandbox in Your Browser

Posted on 5/8/2023, by Ben Gordon

This is part 3 of a series on Hilbert Curves. To start from the beginning, please visit What is a Hilbert Curve and Why Does It Matter?

Now that we've discussed how Hilbert Curves are built, I think its only fair I let you play around in my Hilbert Curve Sandbox! Feel free to play with the controls and see what effects they have on the Hilbert Curve.

One word of caution, the performance of this sandbox is heavily reliant on the power of your graphics card. Computers with less recent hardware will see signifigant slowdown when increasing the magnitude of the Hilbert Curve. If you are visiting this site on mobile, or a computer with older hardware, you will likely see the best results with Hilbert Curves of order 4 or less. (The initial curve is of order 3)

On some computers, the highest magnitude setting can take up to 10 seconds to fully load.

Once you are done, check out the next post in the series where I dig into the algorithm I use to generate the Hilbert Geometry: Hilbert Curves as a Transformation of Binary Reflected Gray Codes