By Daniel V. Schroeder, Physics Department, Weber State University
This is a simulation of an idealized two-dimensional magnetic material in which each particle can have only two possible alignments, represented by the two colors. The energy is lower when neighboring particles have the same alignment, but there are random fluctuations that become more important at higher temperature. The main purposes of this particular page are to demonstrate the feasibility of doing this kind of simulation with JavaScript and the HTML5 canvas element, and to test the performance on different browsers.
Steps per frame = Use pixel graphics
Steps per second: 0