A four-state categorical Potts model on a 24 × 24 lattice. Every site holds one of four categories. Neighbours that match lower the energy — so as the inverse temperature β rises past the theoretical transition, matching categorical domains nucleate and lock. Drag β across βc below and watch it happen, live.
Metropolis updates, one sweep = 576 flip attempts. Tap any cell to paint it with the brush state.
One knob drives the whole phase diagram. Cross the gold marker and the lattice changes its mind.
Connected clusters of equal state, counted by flood fill on the current frame.
Share of the 576 sites in each category, right now. In the disordered phase all four hover near 25%.
No leader yet — the lattice is mixed.
Watch the trace jump as β crosses βc — that step is the transition.
The exact theoretical critical point for the q = 4 Potts model. The benchmark reports the theoretical transition confirmed at this value — and the gold marker on the slider sits exactly here, so you can park the live lattice on it.
simulated benchmark result, results may vary (not customer results)
Full Exp 4 benchmark run time for the 24 × 24, q = 4 lattice, as recorded in the thermo-lab ledger. The in-browser sampler above is a live illustration of the same model, not that benchmark.
simulated benchmark result, results may vary (not customer results)
The browser demo is the same physics at toy scale. The ledger entry — Exp 4, 24 × 24, q = 4, transition confirmed in 2.956 s — reproduces with one command:
$uv run thrml-bench run --exp 4
All published figures on this page (βc ≈ 1.0986, 2.956 s): simulated benchmark result, results may vary (not customer results). Live readouts are computed in your browser from the simulation above.