Fractal Lab

Space-filling

Peano curve

In 1890 Giuseppe Peano stunned mathematicians by constructing a continuous surjection from [0, 1] onto [0, 1] × [0, 1], the first space-filling curve. The result forced the reformulation of dimension theory and led directly to Hilbert’s, Lebesgue’s, and Sierpinski’s constructions.

Peano curve at iteration 3 by L-system rewriting on a 3 × 3 grid.

At a glance

DesignerGiuseppe Peano, 1890
Hausdorff dimension2 (space-filling)
Self-similar copies9 copies at scale 1/3
L-system angle90°

Construction

  1. Subdivide the unit square into a 3 × 3 grid of nine sub-squares.
  2. Traverse the nine sub-squares in a serpentine order.
  3. Recurse: replace each sub-square with a smaller 3 × 3 serpentine, oriented so the curve remains continuous.

Why it shocked mathematics

Pre-Peano, “curve” meant 1-dimensional, “area” meant 2-dimensional, and the two were thought to be distinct. Peano’s map is continuous, surjective, and yet maps a one-dimensional interval onto a two-dimensional region. The notions of topological vs. Hausdorff dimension were created in part to disentangle the paradox.

Properties

References

Try it

Run an interactive playground at /tools/lsystems.

Quick quiz

Test yourself on peano-curve

5 multiple-choice questions. Pick an answer for each, then submit to see explanations.

  1. Q1.Peano's space-filling curve was introduced in:

  2. Q2.Hausdorff dimension of the Peano curve is:

  3. Q3.Each Peano iteration replaces a segment with how many sub-segments?

  4. Q4.The Peano curve maps [0,1] continuously onto:

  5. Q5.Is the Peano space-filling map a bijection?

0 of 5 answered