The Ising model, a simplified description of a magnet, is one of the most extensively studied models in statistical mechanics, usually as an attempt to understand the physics of phase transitions and critical phenomena.
This app implements a Monte Carlo simulation of the Ising model in two dimensions, on a square lattice with periodic boundary conditions, using the well-known Metropolis algorithm. It will be of interest mainly to physicists, students and other people concerned with the field of statistical mechanics, mostly for demonstration and entertainment purposes (it is not something you would want to use for more serious work).
Features:
- Real-time plotting of the internal energy (red) and magnetization (green).
- You can initialize the lattice spins with either zero or infinite temperature (all aligned / all random).
- You can modify the simulation temperature at any time.
- With the simulation paused, you can touch the lattice to flip spins with your finger!
- Free of charge!