MYSIMULATOR
20 INTERACTIVE LABS← Explore gallery
Mathematics / Probability

Percolation: Paths Through Randomness

Discover how a random grid suddenly forms a spanning connected path.

LIVE SIMULATION
0.0 s
Metric
—
Metric
—
Metric
—
The science beneath it

How this simulation works

Sites are open independently with probability p. Breadth-first search finds connected clusters; when an open cluster reaches from the top to the bottom, the grid percolates.

Ideas to explore

Key concepts

Random Bernoulli occupancy
Breadth-first connectivity search
Critical-threshold behaviour
Made with 🤖 ChatGPT