Dancing Pendulums

If you can read this, your browser does not support the HTML5 Canvas.

Parameters
Number
Ball radius
Shrinkage
Length
Angle
Speed
Period
Frame delay

Parameter Key

Number
The total number of pendulums.
Ball radius
The radius of the largest ball.
Shrinkage
A power factor that governs how quickly the ball radius shrinks. A value of 0 gives all balls the same radius, a value of 1 makes the radius proportional to the pendulum length.
Length
The length of the pendulum rod, from the suspension point to the centre of the ball.
Angle
The maximum angle from the vertical that the pendulums swing to.
Speed
Sets the speed of the pendulums.
Period
This parameter determines the number of cycles that the whole assembly takes to repeat. Let the Period = M. In the time that it takes for the first (ie the longest) pendulum to do M cycles, the next pendulum will do M+1 cycles, the next pendulum will do M+2 cycles, etc.
Frame delay
The time delay in milliseconds between animation frames.

For more information, see the Pendulum Waves thread from the Self-Service Science Forum, and these blog entries by "The Rev Dodgeson": Dancing Pendulums and Dynamically Defined Dancing Pendulums.
Have fun!