Molecular Dynamics

By Daniel V. Schroeder, Physics Department, Weber State University

Number of atoms = 250
Atom size =
Gravity = 0.000
Time step = 0.020
Steps per frame = 25
Steps per second: 0

This is a rudimentary molecular dynamics simulation in HTML5/JavaScript, with some of the same features as this Java version. I hope to improve this version over time until it eventually makes the Java version superfluous, but I can't predict when that will happen. Meanwhile, it still has plenty of rough edges. Be careful with the "Atom size" slider! If the simulation becomes unstable, just hit the Restart button. Notice that you can drag the atoms around with the mouse (or with your finger on a touch-screen device).

An even more rudimentary version, useful mainly for benchmarking, is here.