Fractal Lab

Geometric

Sierpinski triangle

Constructed by Wacław Sierpiński in 1915, the Sierpinski triangle is the canonical example of an exactly self-similar fractal. Start with a filled equilateral triangle; remove the central inverted triangle; repeat forever inside each remaining triangle. Three copies of itself, each at half scale.

Sierpinski triangle drawn live by the chaos game: 60,000 random half-step jumps from a starting point.

At a glance

DesignerWacław Sierpiński, 1915
Hausdorff dimensionlog₂(3) ≈ 1.585
AreaZero (Lebesgue measure)
Self-similar copies3 copies at scale 1/2
Topological dimension1

Constructions (all equivalent)

  1. Subdivision: start with a filled triangle, remove the central inverted triangle, recurse on the three corner triangles.
  2. Chaos game: pick three vertices in the plane, start at any point. Repeatedly: pick a random vertex, move halfway to it, plot the new point. Skip the first few. The plotted points fill the Sierpinski triangle.
  3. Iterated function system: the attractor of the three affine maps fi(x) = (x + vi) / 2 where viare the three corner positions.
  4. Pascal’s triangle mod 2: shade in the odd binomial coefficients. The Sierpinski triangle emerges.

Dimension derivation

Three self-similar copies at scale 1/2: for a self-similar set with N copies at scale 1/r, the similarity dimension is log(N) / log(r). So log(3) / log(2) ≈ 1.585.

Cousins

References

Try it

Run an interactive playground at /tools/sierpinski.

Quick quiz

Test yourself on sierpinski

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

  1. Q1.The Sierpinski triangle is constructed by removing what from each triangle?

  2. Q2.The Hausdorff dimension of the Sierpinski triangle is:

  3. Q3.How many contractive maps make up the Sierpinski triangle IFS?

  4. Q4.Pascal's triangle mod 2 reveals which fractal?

  5. Q5.The chaos game on three vertices with step factor 1/2 yields:

  6. Q6.Topological dimension of the Sierpinski triangle is:

  7. Q7.Sierpinski's 3D analogue, the Menger sponge, is built from how many copies per side?

  8. Q8.Sierpinski first introduced the triangle in:

  9. Q9.Total area of the Sierpinski triangle after infinitely many iterations is:

  10. Q10.An L-system axiom F-G-G with rule F → F-G+F+G-F, G → GG, angle 120° draws:

0 of 10 answered