Parameters
Parameters
What is this?
This is the Ising model — a simple simulation of a magnet. Each square is a tiny magnet ("spin") pointing up or down, and neighbours prefer to point the same way.
Why it's cool: from this one simple rule you get real magnetism, and you can watch order appear and disappear on screen.
The main idea: when it's cold, the spins line up and the material is magnetic. Turn up the temperature and the heat randomly flips spins until they no longer agree — the alignment breaks and the magnetism goes away. That's why magnets lose their magnetism when they get hot. In 2D this happens suddenly around T ≈ 2.27; in 1D the magnetism never survives at any temperature above zero.