← Back

🧪 Gas Simulator

0.0Pressure
400Temp K
100Volume %
80Particles
0.0Avg KE
0Wall Hits
Adjust temperature and piston to see ideal gas law in action. Add/remove particles. Observe pressure changes in real time.

🧪 Gas Simulator

Objective: Explore the ideal gas law (PV=nRT) through particle simulation. Observe how temperature, volume, and particle count affect pressure.

Controls: Temperature slider changes particle speed. Piston slider changes volume (height of container). Add/remove particles to change particle count. Pause to freeze simulation.

Physics: N particles collide elastically with walls and each other. Pressure is measured from wall collisions. Average kinetic energy relates to temperature. The simulation demonstrates PV = nRT relationships.