Gas Laws
Interactive simulation — adjust parameters and watch the visualization update in real time.
How it works
Ideal monatomic gas in model units with **nR = 1**, so **PV = T**. **Boyle** holds temperature and changes volume — pressure tracks like 1/V. **Charles** holds pressure and warms the gas — volume grows linearly with T. **Gay-Lussac** holds volume and heats — pressure grows linearly with T. The piston height tracks volume; gas color tracks temperature.
Key equations
PV = nRT ··· here nR ≡ 1
Boyle: PV = const · Charles: V/T = const · Gay-Lussac: P/T = const