Topological Defects & Winding Numbers

XY model: vortex/antivortex topology, BKT transition, winding number calculation

Controls

Click canvas to place defect:

Total winding0
+1 vortices0
−1 vortices0
Energy0.00
XY model: Spins θᵢ ∈ [0,2π] on a lattice. Winding number = (1/2π)∮∇θ·dl around a plaquette. ±1 vortices are topological defects — cannot be removed by smooth deformations. At T_BKT: vortex-antivortex pairs unbind (Berezinskii-Kosterlitz-Thouless transition). Click to place/smooth defects.