The science
Model. N = 140 particles in a periodic 2-D box interact by the Lennard-Jones potential u(r) = 4ε[(σ/r)12 - (σ/r)6], truncated and shifted at 2.5σ. All numbers are in reduced units (σ, ε, mass = 1; T* = kBT/ε). The page integrates Newton's equations with the velocity-Verlet scheme (step 0.004) and a gentle Berendsen thermostat that nudges the kinetic energy toward your target temperature.
Measured quantities. Temperature from equipartition in two dimensions: KE = N kBT. Pressure from the virial theorem: P A = N kBT + (1/2) Σpairs rij·Fij. The compressibility factor Z = P/(ρT) equals 1 for an ideal gas.
Matter beyond liquid and gas. Below the critical temperature (roughly T* = 0.45-0.5 for this 2-D model) the system separates into dense liquid-like clusters and dilute gas. Above it there is no phase boundary: you can go from low to high density without ever seeing two phases. That supercritical fluid has liquid-like density but gas-like mobility and is used industrially, for example to decaffeinate coffee.
Honest simplifications. Only 140 particles in 2-D, so fluctuations are large and the critical point is smeared by finite-size effects; the critical values shown are approximate literature values for truncated LJ, not computed here; the thermostat is weak-coupling (correct mean temperature, not the exact canonical distribution); the state label is a neighbour-count heuristic, not a free-energy calculation. Real substances are 3-D with molecular structure.