2D XY model: BKT vortex unbinding
What you are seeing: a 2D grid where each site holds an angle (a "compass needle") that can point anywhere from 0 to 360 degrees. Neighbors prefer to point in the same direction ( per bond). At low all needles align approximately; at high they go random. The interesting feature: the transition is not a sharp ordering but a Kosterlitz- Thouless transition where pairs of vortices (rotational defects) unbind.
Each cell is colored by the angle (rainbow modulo ). Red and blue dots mark and vortices, found by computing the winding number around each plaquette. The transition temperature is ; below it vortices pair up; above it they roam free. Watch the vortex count climb past .
T0.70
L64
speed3
WHAT TO TRY
- Vary each control and watch the rail readouts respond.
- Compare the diagnostic plot against the live scene.