Home▸Physics & Mechanics▸Gas Chamber (2D): Molecular Piston, Maxwell-Boltzmann Speeds and the Ideal Gas Law

🧪 Gas Chamber (2D): Molecular Piston, Maxwell-Boltzmann Speeds and the Ideal Gas Law

2D companion of the Gas Chamber: hard-disk molecules in a box with a movable piston, a heat bath, live Maxwell-Boltzmann speed histogram, measured versus predicted pressure and a Boyle-law compression check.

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Gas Chamber (2D): Molecular Piston, Maxwell-Boltzmann Speeds and the Ideal Gas Law ↗ Open standalone
⚙ Under the hood

2D companion of the Gas Chamber: hard-disk molecules in a box with a movable piston, a heat bath, live Maxwell-Boltzmann speed histogram, measured versus predicted pressure and a Boyle-law compression check.

Gas DynamicsPressureMaxwell-Boltzmannideal gas

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)