INTERACTIVE PHYSICS LAB

Ising Model

Explore spontaneous magnetization, phase transitions, and critical fluctuations in a two-dimensional spin lattice.

Spin lattice Running

Each pixel represents a spin (+1 or −1). Periodic boundaries connect opposite edges. The checkerboard Metropolis update follows your Python simulation.

Simulation controls

Critical temperature: Tc ≈ 2.269 (J = kB = 1)
0.000Magnetization
0.000Energy / spin
0Sweeps

Magnetization over time

M = average spin; values near ±1 indicate an ordered state.

Energy per spin over time

E/N² = −Σ nearest-neighbor spin products / N², counting each bond once.

Simulation runs entirely in your browser. Temperature changes take effect immediately; lattice-size changes reset the simulation.