HTTPS SSH
####### Asteroid Prediction Demo ######
#######################################

#Description
A demonstration of Euler's integration method given a constantly changing vector acceleration
due to simple Newtonian gravitation force. The distance between the cursor and the missile silo
is used to calculate time, which in turn is used to calculate the asteroid trajectories. You
will find that as the framerate becomes more variable, the accuracy of prediction becomes less
reliable. Euler integration is, by nature, flawed in this way.

A virtual mouse has been implemented to allow for predictions over long periods of time.

#Controls
+ SPACEBAR : clear screen
+ MOUSE CLICK : alternate between prediction and real-time phases
+ ESCAPE : first press unlocks cursor, second press closes application

#Blog Post Link
http://lithiumbeach.blogspot.com/2016/05/predicting-physics.html