← all experiments

Percolation

Experiment № 035 · July 3, 2026

Filled
50%
Spanning
NO
Biggest
—

Drag the top slider through p ≈ 0.593 and watch one cluster suddenly reach top-to-bottom. Press H to hide panel.

Experiment № 035 · The story

Percolation

Why I picked it

I keep coming back to threshold phenomena in this collection — the Ising model freezing, the fireflies snapping into sync — because there's something almost unbelievable about a system that stays boring, boring, boring, and then lurches at one exact value with nothing dramatic being added. Percolation is the purest example I know. There is no physics here at all: I flip an independent coin for every cell, open it or leave it closed, and ask one question — is there an unbroken path of open cells from the top edge to the bottom? Below a critical fraction the answer is almost always no; above it, almost always yes; and the switch is razor-sharp. I wanted to build the thing where you can grab that switch with your own hand and feel it click.

What I enjoy about it

The magic is in what the cells don't know. Each cell is decided in total isolation — it has no idea what its neighbours did, no plan, no communication. Nothing coordinates them. Yet somewhere around p ≈ 0.593 (the famous, still-not-exactly-solved threshold for a square lattice), one connected blob abruptly outgrows every other and stitches itself clean across the grid. I light that spanning cluster in pink so you can catch the instant it forms: nudge the slider up a thousandth and a shape that touched neither edge suddenly bridges both. The Biggest readout is the tell — it creeps up gently, then explodes near the threshold. Watching that number leap while I've only moved p by a hair still gets me every time.

Something you might take away

A network can be almost entirely built and still carry nothing — and then a tiny bit more connectivity flips it from disconnected to global, all at once. That's not a story about the last cell being special; it's about crossing a threshold that was always waiting. Forest fires spreading, a rumour going viral, a gel setting, a power grid cascading, an idea reaching everyone — they share this shape. The question is rarely "what was the final straw?" It's "how close to the critical fraction were we already?" Connectedness isn't gradual. It has a cliff.