Statistical mechanics simulations

← All categories

Interactive simulations on classical and quantum statistical mechanics. Each one opens full screen, also works on smartphones and is available in English and Italian.

The Ising model: magnetism and phase transitions IT · EN

Thousands of spins with the Metropolis algorithm: magnetic domains, the critical point, spontaneous magnetisation and the m(T) curve compared with Onsager’s exact solution.

▶ Open the simulation

The ideal gas and the Maxwell–Boltzmann distribution IT · EN

Hundreds of colliding molecules: the speed distribution emerges by itself, temperature and pressure are measured, the gas is compressed with a piston and Brownian motion appears.

▶ Open the simulation

Brownian motion and diffusion IT · EN

A grain hit by the molecules of a gas and a cloud of 400 Brownian particles: from the random zig-zag to Einstein’s law ⟨r²⟩ = 4Dt.

▶ Open the simulation

❤️ Support Random Physics

This site has no ads and all the simulations are free for everyone. If you would like to support the project, besides subscribing to the YouTube channel you can also make a voluntary donation.

Donate with PayPal →