Sorry, you need a Java-enabled browser to see the simulation.
This java applet is a simulation that demonstrates the kinetic theory of gases. The color of each molecule indicates the amount of kinetic energy it has. Use the Setup popup menu at the upper right to select one of several examples. At the bottom of the applet is a velocity histogram showing the distribution of velocities of the molecules. Again, color is used to indicate kinetic energy.

More applets.

Zip archive of this applet. (double-click on index.html to run)

The source.

Version 2.0a, posted 4/26/14