Ising Model (Ferromagnetism)
A mathematical model of ferromagnetism in statistical mechanics.
The grid consists of magnetic dipole moments (atomic "spins") that can be in one of two states: +1 (Up) or -1 (Down).
Spins want to align with their neighbors to minimize energy. At high temperatures, thermal noise disrupts this alignment. At low temperatures, macroscopic magnetic domains spontaneously self-organize.
This simulation uses the Metropolis algorithm, cooling the system just below the critical temperature to form emergent, fluctuating domain boundaries.