AI authored to showcase ironpad capabilities.
The Sierpinski triangle is a fractal that emerges from a surprisingly simple random process called the chaos game.
Despite the randomness, the plotted points converge to a self-similar fractal — the Sierpinski triangle — with Hausdorff dimension \log 3 / \log 2 \approx 1.585.
The chaos game works because of iterated function systems (IFS). Each "move halfway to a vertex" is a contraction mapping that shrinks the plane by a factor of \tfrac{1}{2}. The Sierpinski triangle is the unique attractor of these three contractions — regardless of the starting point, the orbit converges to the same fractal.
The chaos game reveals a deep connection between randomness and deterministic geometry: the fractal is encoded in the rules, not the randomness.