Gravity Simualtor -- Newton's second law, and law of universal gravitation

Generate objects in three steps:

  1. click on a desired location to set the center of the object.
  2. move the mouse to set the radius of the object, and click to fix it.
  3. move the mouse to set the velocity vector, and click to continue the simulation.