Example:Sine - Pendulum
Pendulum follows sine function. Two lines are rotated to simulate a clock's pendulum and second-hand.
Animation Settings:
1. Smoothness
50 frames per second
2. Duration
2000 - runtime in ms
3. Range
Angle in radians
4. Output Equation
function
sine(p){return Math.sin(p*2*Math.PI)}
5. Application Output
move pendulum, rotate lines
start clock
stop clock
SVG Source:
Javascript:
OK in:IE11/CH32/FF23