Hilbert Curve
Coding in the Cabana Challenge #3
It’s the third episode of Coding in the Cabana! On this snowy day, I attempt to animate the path of the classic “space filling curve” known as the Hilbert Curve.
Community Contributions
- Hilbert curve translated in C# (Windows only) by Clément Lebeau (Source Code)
- Hilbert and Z-curve with order and RGB sliders by Kobe L (Source Code)
- Functional Hilbert Curve, done in Haskell (5 lines of code) by Nikita Ursol (Source Code)
- Hiilbert Curve - Interpolation Between Orders by Cameron Brown (Source Code)
- Hilbert Curve that zooms out from one order to the next by Frode Austvik (Source Code)
- Driving a Car on an order 5 Hilbert Curve by Oon Han (Source Code)
- Image Rendering Curve by Darbness (Source Code)
- Hilbert Curve with p5.js by Thibaut Labrouche (Source Code)
- Editable Space-filling Curve by Simon Tiger Houben (Source Code)
- Image dithering with hilbert curve by David Snyder (Source Code)
- Hilbert's Flower by Brian New (Source Code)
- Animated Hilbert Curve (morph from order 0 to 6 made in VB.Net) by Jos Gielen (Source Code)
- Peano Curve (another space-filling curve) by Kristian Wichmann (Source Code)
- Hilbert Curve SVG from L-system by stellartux (Source Code)
- gosper curve (flowsnake) with L-system by David Snyder (Source Code)
- dragon curve, gosper curve and hilbert curve with L-system by David Snyder (Source Code)
- Hilbert Curve translated in Pygame by Ari24 (Source Code)
- Hilbert curve: a 'matrix' approach by Jae-Cheol Kim (Source Code)
- Port of the algorithm to an R package by Jannik Buhr (Source Code)
You can also add your own version! (See how)
Links discussed in this challenge
Videos discussed in this challenge
- Hilbert's Curve: Is infinite math useful? by 3Blue1Brown