V - Volume of the container

N - Number of gas molecules

T - Temperature of the gas

F
Things to Notice
Velocity Histogram

Check the relationships between the different variables in the ideal gas law! For example, if you increase the volume, the pressure decreases. You will also see that increasing the temperature increases the average velocity of the particles, shifting the peak of the histogram to the right. An interesting effect is that the velocity distribution also becomes wider and flatter at higher temperatures.

Particle Coloring

Since the particles are simulated in 3D space, but the screen is just 2D, they are colored based on how far away they are from the camera. The lighter shades are further back.