Hilbert Curve

A space-filling curve that visits every point in a unit square

Points: 4 | Segments: 3

The Hilbert curve is a continuous fractal space-filling curve. At order n, it visits 4ⁿ points, and in the limit fills the entire unit square — mapping 1D to 2D continuously. Invented by David Hilbert in 1891.