Pages

Tuesday, February 13, 2018

Two Media Speed JavaScript Simulation Applet HTML5

Two Media Speed JavaScript Simulation Applet HTML5


Instructions on using Simulation Applet:

Display Panel

Toggling the Velocity checkbox will display the direction of the light
(in the form of red arrows)

Toggling h line - Will show h1,h2 and a circle in the centre of the two mediums

Note that the hline circle is also drag-able horizontally



Combo Box and sliders

Selecting the options in the combo box will give you their respective sliders.

Drag-able Light Source

Drag the small box as seen from the top of the light.

Adjusting the light source by moving horizontally left or right
(Moving to the left)

(Moving to the right)

Toggling Full Screen

Double click anywhere on the screen

Play/Pause, Step and Reset Buttons

The one on the left is the Play/Pause Button - Plays/Pauses the Simulation.
The middle is the Step Button - Steps the Simulation.
The one on the right is the Reset Button - Resets the Simulation.

That is all, do enjoy the simulation in the link below:
http://iwant2study.org/lookangejss/04waves_13light/ejss_model_twomediaspeed/

No comments:

Post a Comment