Back

2D site percolation

What you are seeing: a square lattice where each site is independently "occupied" with probability pp. As pp rises past a critical value, a single giant connected cluster appears that spans the lattice from top to bottom (the percolating cluster). Below the critical pp, only small isolated islands.

Critical probability pc=0.59274621p_c = 0.59274621\ldots. Drag the slider through pcp_c and watch the landscape change from "small puddles" to "one continent". The largest-cluster fraction is shown live; if a spanning cluster exists its sites are highlighted in yellow.

Figure 1. 2D site percolation with union-find cluster labeling .
p0.590
L80

WHAT TO TRY

  • Vary each control and watch the rail readouts respond.
  • Compare the diagnostic plot against the live scene.