Simulation of gas in 2D

Atoms are represented by solid, smooth spheres. Molecules are represented by rigid, smooth sets of spheres.
No vibrations are considered in this model. All collisions are elastic, with the walls and between particles.
Gray spheres represent argon atoms (m=40u), blue oxygen atoms (m=16u), and green nitrogen atoms(m=14u).
This simulation includes a gravitational-like potential acting on the atoms.