Gas Molecules: Kinetic Theory & Pressure (2D)
A 2D kinetic-theory gas box: real disc-on-disc elastic collisions, a movable piston that adiabatically heats the gas on compression, and measured wall-impulse pressure checked live against the ideal gas law.
A sealed box of colliding hard discs demonstrates kinetic theory directly: measured wall pressure, a compressible piston that heats the gas adiabatically, and a live check of the ideal gas law.
A 2D companion to the 3D Molecular Hazards / Gas Molecules simulator: a sealed box of hard discs colliding elastically with each other and the walls, with pressure measured directly from wall impulse (not assumed), a movable piston that adiabatically heats the gas on compression via real moving-wall collisions, and a live check of P·V/(N·T) against the ideal gas law as you change molecule count, temperature and volume.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install