Interactive Lab / The Hilbert Curve

L-System Discovered 1891 Dimension log 4 / log 2 = 2

The Hilbert Curve

A→−BF+AFA+FB−,B→+AF−BFB−FA+A \to {-}BF{+}AFA{+}FB{-}, \qquad B \to {+}AF{-}BFB{-}FA{+}
★Cool Fact
Unlike Peano’s curve, this one never revisits a point, and its quadrant ordering gives it unusually strong locality — which is why real systems (Uber’s H3, Google’s S2) use it for spatial indexing.

Rendering…