What phase of matter does an emergent Particle Life world form — a gas, a liquid, or a crystal?
▶ Launch the interactive simulationMeasure the pair-correlation function g(r) — the radial distribution function from statistical mechanics — by time-averaging a toroidal histogram of every pairwise separation over the live field, normalised so g = 1 means 'as likely as random'.
the g(r) shape: flat g ≈ 1 (gas), a first peak with damped oscillations (liquid, short-range order), or many sharp peaks (crystal). A first peak far above ~3 signals two-phase coexistence (dense droplets in gas), since g(r) is normalised by the global density