Magnetic dipoles pinned at lattice vertices, free to rotate. Each one torques its neighbours toward a minimum-energy pattern. An adjustable external magnetic field can force global alignment — the compass dials track the applied field and the net magnetization of the system. Click any magnet to disturb it.