APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Molecular Dynamics Performance JS Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Molecular Dynamics Performance JS Model 

written by Wolfgang Christian and Francisco Esquembre

The Molecular Dynamics Performance JavaScript Model computes the trajectory of particles acted on by a Lennard-Jones force.  This simulation was designed to test the speed of JavaScript for a computationally intensive model.  The user can vary the number of particles, the number of frames per second displayed on the computer monitor, and the requested number of Verlet steps between frames.  The actual number of Verlet steps per frame is shown.  This number will be less than the requested number of steps on slow processors.

The Molecular Dynamics Performance  JS Model was developed using the Easy Java Simulations (EJS) version 5.  It is distributed as a ready-to-run html page and requires only a browser with JavaScript support.

Published September 6, 2013
Last Modified September 30, 2014

This file has previous versions.

Source Code Documents

Molecular Dynamics Performance JS Source Code 

This source code zip archive contains an XML representation of the Molecular Dynamics Performance JS Model.   Unzip this archive in your Ejs workspace to compile and run this model using EJS 5.  Although EJS is a Java program, EJS 5 creates a stand alone JavaScript program from this source code.

Last Modified September 30, 2014

This file has previous versions.

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book