fps:
other sizes: 256x256 512x512 1024x1024 2048x1024
stiffness:
thermal coupling:
temperature:
:
force radius:
time step:
:
Simulate the XY model using webgl! Hold down the mouse button to apply a force that attracts vortices and repels anti-vortices! The vortices and anti-vortices are emergent topological excitations with long range (2d) Coulomb interactions, similar to real world electrons and positrons!

The spins in this simulation are soft, which means that the 2-component vector at each site is not constrained to a unit vector. Each pixel on the computer represents a spin. The color represents the direction of the spin vector. Lighter colors indicate that the magnitude of the spin vector is less than 1, while darker colors indicate a magnitude greater than 1.

the source: https://github.com/kjslag/XY