Watch a magnetic spin lattice order or disorder as temperature, field and coupling change.
The two-dimensional Ising model represents each lattice site as an up or down spin. Neighbouring spins prefer to align when the coupling is positive. A Metropolis Monte Carlo update accepts energy-lowering flips and sometimes accepts energy-raising flips with probability exp(−ΔE/kT), producing thermal disorder and collective magnetisation.