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.

Computer Program Detail Page

Item Picture
Four-Spring Accelerometer JS Model
written by Wolfgang Christian
The Four-Spring Accelerometer mobile JavaScript Model shows how a mobile device detects acceleration.  The simulation displays the forces and dynamics of a small mass connected to four walls by springs and it is designed to use  the accelerometer on your mobile device to respond to the direction of the gravitation field g and the mobile device's xy-acceleration. You may need to lock the orientation of your screen to maintain a fixed view as you tilt your device. For use on computers without an accelerometer or for classroom use, uncheck Sensor to simulate a tilted device in the view.

The Four-Spring Accelerometer mobile JavaScript Model was developed using version 5 of the Easy Java Simulations (EJS 5) modeling tool. Although EJS is a Java program, EJS 5 creates stand-alone JavaScript programs that run in almost any browser.
1 source code document is available
Subjects Levels Resource Types
Classical Mechanics
- Motion in Two Dimensions
= 2D Acceleration
- Newton's Second Law
= Force, Acceleration
Education Practices
- Technology
= Computers
Oscillations & Waves
- Oscillations
= Damped Oscillators
= Simple Harmonic Motion
= Springs and Oscillators
- Lower Undergraduate
- High School
- Informal Education
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- text/html
- application/zip
- application/javascript
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.
Rights Holder:
Wolfgang Christian
accelerometer, mobile device
Record Cloner:
Metadata instance created October 11, 2016 by Wolfgang Christian
Record Updated:
January 5, 2024 by Wolfgang Christian
Last Update
when Cataloged:
October 11, 2016

AAAS Benchmark Alignments (2008 Version)

4. The Physical Setting

4F. Motion
  • 9-12: 4F/H1. The change in motion (direction or speed) of an object is proportional to the applied force and inversely proportional to the mass.
4G. Forces of Nature
  • 6-8: 4G/M1. Every object exerts gravitational force on every other object. The force depends on how much mass the objects have and on how far apart they are. The force is hard to detect unless at least one of the objects has a lot of mass.

11. Common Themes

11B. Models
  • 6-8: 11B/M2. Mathematical models can be displayed on a computer and then modified to see what happens.

AAAS Benchmark Alignments (1993 Version)


E. Energy Transformations
  • 4E (9-12) #1.  Whenever the amount of energy in one place or form diminishes, the amount in other places or forms increases by the same amount.
F. Motion
  • 4F (6-8) #3.  An unbalanced force acting on an object changes its speed or direction of motion, or both. If the force acts toward a single center, the object's path may curve into an orbit around the center.
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
W. Christian, Computer Program FOUR-SPRING ACCELEROMETER JS MODEL, Version 1.0 (2016), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524).
W. Christian, Computer Program FOUR-SPRING ACCELEROMETER JS MODEL, Version 1.0 (2016), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524>.
APA Format
Christian, W. (2016). Four-Spring Accelerometer JS Model (Version 1.0) [Computer software]. Retrieved July 18, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524
Chicago Format
Christian, Wolfgang. "Four-Spring Accelerometer JS Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524 (accessed 18 July 2024).
MLA Format
Christian, Wolfgang. Four-Spring Accelerometer JS Model. Vers. 1.0. Computer software. 2016. 18 July 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524>.
BibTeX Export Format
@misc{ Author = "Wolfgang Christian", Title = {Four-Spring Accelerometer JS Model}, Month = {October}, Year = {2016} }
Refer Export Format

%A Wolfgang Christian %T Four-Spring Accelerometer JS Model %D October 11, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524 %O 1.0 %O text/html

EndNote Export Format

%0 Computer Program %A Christian, Wolfgang %D October 11, 2016 %T Four-Spring Accelerometer JS Model %7 1.0 %8 October 11, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14158&DocID=4524

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource and its subdocuments is stored in 1 shared folders.

You must login to access shared folders.

Four-Spring Accelerometer JS Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

Use the Easy Java Simulations Modeling and Authoring Tool to edit and to explore the source code for the Four-Spring Accelerometer JS Model.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders



Related Materials

Similar Materials

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