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.

Quick quiz

Test yourself on sierpinski-carpet

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

  1. Q1.Hausdorff dimension of the Sierpinski carpet is:

  2. Q2.How many sub-squares survive each iteration of the carpet?

  3. Q3.The Sierpinski carpet is universal for which class of spaces?

  4. Q4.The 3D analogue of the Sierpinski carpet is the:

  5. Q5.Lebesgue measure of the Sierpinski carpet is:

  6. Q6.The Sierpinski carpet was introduced by Sierpinski in:

  7. Q7.An IFS for the carpet uses how many maps with what scale?

  8. Q8.The carpet has topological dimension:

0 of 8 answered