weepy / jquery.path

Animatation for arcs and bezier curves with jQuery

Home Page:http://weepy.github.com/jquery.path/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to animate along on oval

reubenlara opened this issue · comments

Trying to find a way to animate the center point of arc down, then up within the same timeframe that an arc completes 360º. This would theoretically create an oval shape. I've tried chaining animate marginTop chains, etc etc but just can't get it to work right. Would love to be able to just provide an argument to the center point of the arc to offset the circle and get the same effect... possible?

commented

You should be able to do this with a bit of maths and a custom path.