Chronology Current Month Current Thread Current Date
[Year List] [Month List (current year)] [Date Index] [Thread Index] [Thread Prev] [Thread Next] [Date Prev] [Date Next]

Re: [Phys-L] Physics "applets" in HTML5/JavaScript



Here are some physics demos written in GlowScript. These happen to be
essentially 2D, so presumably they could be implemented with a 2D canvas,
without having to use WebGL.

Apply a (single) varying force to an object and see its trajectory:
http://www.glowscript.org/#/user/Bruce_Sherwood/folder/MI/program/02%5fNewtonGrid

Throw a ball from inside a rotating space station and view the trajectory
from a stationary and a rotating reference frame:
http://www.glowscript.org/#/user/Bruce_Sherwood/folder/MI/program/01%5fSpaceStation

Pull two pucks across a low-friction surface; an illustration of the fact
that the net force governs the motion of the center of mass no matter where
the force is applied, and that the extra (rotational) kinetic energy of the
rotating puck is due to the force acting through a larger distance:
http://www.glowscript.org/#/user/Bruce_Sherwood/folder/MI/program/09%5fTwoPucks

Newton's cradle in slow motion, where you can see that the stiffness of the
interactions between neighboring balls affects what actually happens:
http://www.glowscript.org/#/user/Bruce_Sherwood/folder/Pub/program/NewtonsCradle

An illustration of the nature of neutron decay:
http://www.glowscript.org/#/user/Bruce_Sherwood/folder/Pub/program/NeutronDecay

Bruce