Space-Filling Fractal Curve
The Hilbert curve visits every cell in the grid exactly once, creating a continuous path that "fills" the 2D space.
Order n: Creates a 2n × 2n grid with 4n points.
Used in database indexing, image processing, and computational geometry to preserve locality.
The Hilbert Curve is a continuous fractal curve that visits every point in a square exactly once. It "fills" 2D space with a 1D line—a mathematical marvel with practical applications.