Temperature = 0

Click buttons above to add/remove ions, or to heat up/cool down the ions. By gradually heating up and cooling down you can see all 3 states of matter, solid, liquid, and gas.

Adjust timestep to change sim speed. Decrease steps per frame if FPS becomes low. Sim will bug out if you make atoms move too fast without decreasing timestep.

This simulator uses the Coulomb's law to approximate the interactions between ions.

To try making a cubic crystal lattice similar to sodium chloride, add some +1 and -1 ions and cool until they form a solid.

To learn more about this topic, see:
Molecular dynamics Coulomb's law

See also: Van der Waals simulation