Auto Targeting Function For Hitting Moving Targets

Back To About Me

General solution to the problem of hitting a moving target from a moving platform with the constraint that the 'muzzle' velocity of the bullet is fixed.

Watch the purple dot shoot (and hit) the green dot as they fly around the screen together.

Use a better browser! Need a canvas feature (html5)

Explanation of mathematics behind it