Link to home
Start Free TrialLog in
Avatar of howtogetitright
howtogetitright

asked on

Formula for describing the flight path of a basket ball

Hi,

I would like to animate the movement of an image so it will follow a trajectory similar to a basket ball.

I need to translate the flight path into x/y co-ordinates using Javascript.

A symmetrical arc would be pretty easy to describe. But I want a path which is closer to a lob, like that of a basketball from the free throw point.

Could someone please point me to a formula or algorithm I could use for this ?

Regards,

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of howtogetitright
howtogetitright

ASKER

Great, thanks that got me onto the right track. http://github.com/weepy/jquery.path
Thanks for the link and for the points!