An Ising model simulation in JavaScript, using an HTML5 canvas for graphics output By Dan Schroeder, Weber State University, February 2013 Modified March 2013 to include user-controlled size, steps per frame, and pixel graphics option For a simpler version, see physics.weber.edu/thermal/isingHTML5.html. (Reformatted by CQ for Stavanger.)

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.

Size =     Temperature =    

Steps / frame =   Steps / second: 0