Fractal Lab

Geometric

Sierpinski carpet

Wacław Sierpiński introduced the carpet in 1916 as a 2D analogue of the Cantor set: subdivide a unit square into a 3 × 3 grid, remove the central sub-square, and recurse on the other eight. The carpet is a universal space for one-dimensional planar continua.

Sierpinski carpet at depth 4: 4096 surviving sub-squares packed into the unit square.

At a glance

DesignerWacław Sierpiński, 1916
Hausdorff dimensionlog3(8) ≈ 1.8928
Topological dimension1
Lebesgue measureZero
Self-similar copies8 copies at scale 1/3

Construction

  1. Start with the unit square [0, 1]².
  2. Subdivide into a 3 × 3 grid of nine sub-squares.
  3. Remove the central sub-square.
  4. Recurse on the remaining eight.

Universal curve

Whyburn proved that every planar continuum of topological dimension 1 with no interior embeds homeomorphically into the Sierpinski carpet. In 3D the same role is played by the Menger sponge.

Where it appears

References

Try it

Run an interactive playground at /tools/sierpinski-carpet.

Test Your Knowledge

Quick MCQ check on this topic (8 questions)

Start Quiz →

AI Summary

Summarize this page in your favorite LLM