This simulation shows the very close encounters of Asteroid Apophis with the Earth on 13th April 2029 and 13th April 2036.
The simulation also contains the Sun, together with all known planets and the Moon.
If you run the simulation forward, you can watch the close encounters of Asteroid Apophis with the Earth, and see how the asteroid's orbit is significantly changed by the influence of the Earth's gravity.
You can find out more from the following website:
Copyright © 2005-2018, AstroGrav Astronomy Software