Adding multiple elements to the last post's animating along a circle script. I create a variable called angle. All the animation is based off of that variable as it increments from 0 to 360 and resets to 0. Changing angles means changing position along the 360 degree circle.
In order to keep all elements at equal distance from one another; at init, each element gets an angle appointed, in this case I am dividing the radius by the elements i (position).
Monday, June 08, 2009
javascript circle animation v1

evden eve nakliyat said...
You really did do good.
Ron Mertens said...
Hey Paul,
That's a nice script, thanks for sharing!
How about adding an option for it to stop when you choose an icon? That can be cool.
Thanks!
Ron
oled-info.com