Maxwell–Boltzmann Box
Four hundred hard particles bounce off the walls and off each other. They start at one identical speed. Every collision is elastic, yet the swapped energy spreads the speeds into a single fixed curve.
The box
slowfast
Controls
colderhotter
lighterheavier
Restart from
Playback
Speeds
measured
2D theory
3D theory
Hover a bar to light up the particles moving at that speed.
Most likely0px/s, theory
Mean speed0theory 0
Hits each0.0since restart
Fit to curve0%
Velocity space
Rings every 100 px/s. The dashed ring marks the most likely speed.
Source and write-up on GitHub.