Four-Spring Accelerometer JS Model Documents
This material has 2 associated documents. Select a document title to view a document's information.
Main Document
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.
Published October 11, 2016
Last Modified May 4, 2021
This file has previous versions.
Source Code Documents
JavaScript EJS source code for Four Spring Accelerometer Model.
Last Modified January 5, 2024
|