Maths

Why random dice rolls draw a perfect fractal: the chaos game and the Sierpiński triangle

Green Sierpiński triangle fractal on black beside the title 'Random dice rolls draw a perfect fractal'
30seconds
The 30-second version

Pick three dots, then keep jumping halfway towards a randomly chosen one. It sounds like it should leave a grey smudge, but after a few thousand jumps a razor-sharp Sierpiński triangle appears, hole within hole at every scale.

Play the chaos game yourself: drag the corners, change the jump fraction and watch the pattern bend, fill in or break into dust. Then see why every roll squeezes the picture into three half-size copies, and why a shape with no area can still have a dimension of about 1.585.

Deep dive · 3 min
Deep dive · 3 min

More in Maths

View all →
Why a treatment can win in every group and still lose overall: Simpson's paradox Treatment B beats Treatment A overall, yet A wins for small stones and for large stones. That is Simpson's paradox, and it is real data from a kidney-stone… Maths4 min read Why no walk can cross all seven bridges of Königsberg once: Euler's odd-places rule Seven bridges, two islands, two river banks: in 1700s Königsberg nobody could find a walk crossing each bridge exactly once. Euler didn't search harder, he… Maths4 min read Why sunflower seeds never leave gaps: the golden angle and the Fibonacci spirals Sunflower seeds are not placed in spirals on purpose. Each new seed turns a fixed angle from the last, and only one angle, about 137.5 degrees, leaves no bare… Maths4 min read Why a dropped stick can find π: Buffon's needle Drop a stick on a floor of planks and count how often it lands across a seam. The count secretly contains π: for a needle as long as the plank width, the… Maths4 min read Why 23 people are enough for a shared birthday: counting pairs, not people Put 23 people in a room and the chance that two share a birthday is already 51%. It feels far too low a number, because we picture one person matching our… Maths3 min read Why random bounces pile up into a bell curve: the Galton board Every ball in a Galton board makes the same blind choice at each peg: left or right, a coin flip. Yet drop enough of them and the pile always grows into the… Maths4 min read