fun.sys / free time

THE SWITCH THAT FLIPS

Every square on the board gets filled with probability p. Can you walk from the top edge to the bottom through filled squares? Slide p and watch: at 59.27% the answer flips from “almost never” to “almost always”.
■ 16×16   ■ 48×48   ■ 128×128
sampling boards…

Cyan is the cluster that connects top to bottom; other clusters get a color each. The chart is built by an exact trick: for every random board, add the squares one at a time in random order and record the fill fraction at which a path across first appears. The fraction of boards that have flipped by p is the chance of a path at p. As boards grow the S-curve steepens toward a vertical step at pc ≈ 0.592746 for square sites — a phase transition, the same kind of cliff that governs magnets, epidemics and forest fires. No formula for that number is known; it is only measured. (Same idea in your kitchen: coffee grounds either let water through or they don't.) The board's own flip point is printed under it — small boards scatter around 0.59, they don't hit it.