APS Excellence in Physics Education Award
November 2019

Science SPORE Prize
November 2011

The Open Source Physics Project is supported by NSF DUE-0442581.
|
Mass and Spring WebEJS Compatibility Test Documents
This material has 4 associated documents. Select a document title to view a document's information.
Main Document
written by
Wolfgang Christian and Francisco Esquembre
The Simple Harmonic Oscillator JS Model displays the dynamics of a ball attached to an ideal spring. The spring is initially stretched, and the ball has zero initial velocity. The initial position of the ball can be changed by click-dragging the ball when the simulation is paused.
This simple EJS model tests the compatibility of Desktop EJS version 6 and Web EJS version 7.
Published July 1, 2025
Last Modified June 30, 2025
Supplemental Documents
Mass and Spring example compiled with WebEJS.
Last Modified June 30, 2025
Source Code Documents (2)
Mass and Spring model compiled by desktop EJS.
Last Modified June 30, 2025
Mass and Spring from WebEJS. Web EJS uses a JSON file to store source code.
Last Modified June 30, 2025
|