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.

Test Your Knowledge

Quick MCQ check on this topic (10 questions)

Start Quiz →

AI Summary

Summarize this page in your favorite LLM