Simple Pendulum Simulation on HTML5 Canvas
A fully interactive, animated, simple pendulum made on HTML5 canvas.
Mais comentários do autor sobre esse demo
The pendulum bob is made with a filled circle and radial gradient which gives the spherical appearance.
In order to make it oscillate, sine and cosine function of Math object is used.
The start and stop button use window.setInterval() and window.clearInterval() respectively.
The animation works on all major browsers: FireFox, Chrome, IE, Safari.
It works on tablets too such as iPad.
Sobre esse demo
Esse demo está sob a licença MPL/GPL/LGPL.