Real-time interactive Ising model running in terminal, written in Rust.
The 2D Ising model is a mathematical model in statisical mechanics of a two dimensional spin lattice.
A spin state is a state that can take one of two values, typically denoted up and down.
The Ising model couples neighboring spins in the lattice by imposing the Hamiltonian
Additionally, one cna add an external magnetic field term to bias the system: