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 particle excitations with long-range interactions, similar to electrons and positrons.

Each pixel on the computer represents an XY model spin. The spins in this simulation are soft, which means that the 2-component vector at each site is not constrained to a unit vector. 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