Tuesday, December 06, 2011

Calculating Trajectories

When plotting the course of a (lets say) ball thrown in a simulated physics environment it is advantageous to be able to draw the course the ball will follow. Doing some "internet research" brought up this little gem of a site:
From which I was able (yes, it's cheating, but hey) to refactor the javascript and produce the code for a Corona implementation here:
The root of the above site is quite amazing and hopefully can teach everyone (certainly me) about all manner of interesting physics concepts and maths:

No comments:

Post a Comment