This is a Brownian Dynamics simulation of soft spheres that interact with a
in a periodic, cubic box.
Just hit the "Start" button to begin the simulation, which runs in your browser.
can experiment with the number of particles (and thereby the system density) and the interaction
strength (parameter `epsilon`).
You can also think of the interaction strength as being the inverse of temperature; i.e.,
a stronger interaction is consistent with a lower temperature.
// Note the box is a cube of length 1.0
var r = 0.05;
// LJ interaction strength
// LJ length scale
sigma: 2 * r,
// BD update length scale
randomScale: 0.5 * r,
// How frequently to update the neighbor lists in simulation
// How frequently to sample the pair density distribution