Gas in a box
Particles move in a cubic box and collide elastically with the walls and with one another, as kinetic theory assumes. Change the number of particles, the temperature, or the volume, and compare what the particles do with the ideal-gas law.
Pressure from the wall collisions in successive intervals of 10 ps (blue) around the ideal-gas value (orange). The number above is the average since the last change.
Speeds of the particles, averaged over the last 40 ps (bars), and the Maxwell–Boltzmann distribution (orange).
The box is a cube, seen from one side. Fainter particles are farther from the viewer. A blue mark appears where a particle has just hit one of the four walls that are seen edge-on. Each particle is drawn, and collides, with a diameter of 0.6 nm, somewhat larger than a nitrogen molecule (0.36 nm), so that collisions between particles are frequent enough to watch. One second on the screen is 15 ps.