A real Monte Carlo simulation of a chiral magnet, running live in your browser. Turn up the magnetic field and watch helical stripes break into a crystal of skyrmions. Drag on the lattice to heat a spot and write your own.
Each pixel is a classical spin of unit length on a square lattice. The exchange J wants neighbours parallel; the Dzyaloshinskii–Moriya interaction D, allowed in magnets without inversion symmetry, wants them to twist with a fixed handedness; the field B wants everything to point up. Their competition produces helices at low field and, at intermediate fields, a triangular lattice of skyrmions — whirls whose spins wrap the sphere exactly once.
That wrapping is measured by the topological charge Q (computed here with the Berg–Lüscher lattice formula). It is an integer: a skyrmion cannot be undone by smooth deformations, which is why skyrmions are robust and why they are explored as bits for racetrack memories.
The simulation uses heat-bath Monte Carlo with over-relaxation, the same family of methods I use (on far larger lattices, and on frustrated geometries such as kagome or triangular lattices) in my research. See my papers on skyrmions →