Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery and animating around a central point

I would like to know the best way to animate an element in a circular motion around a central point?

I couldn't quite figure it out... :(

Thanks in advance.

Neuroflux.

like image 471
Barrie Reader Avatar asked Dec 21 '22 18:12

Barrie Reader


1 Answers

Use the jquery.path plugin, and here is a demo.

(found it from another question: How would you animate something so that it follows a curve?)

like image 181
Thai Avatar answered Jan 08 '23 06:01

Thai