This simulation shows the very close encounter of Asteroid 2004 FH with the Earth on 18th March 2004.
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 encounter from different viewpoints, and see how the asteroid's orbit was significantly changed by the influence of the Earth's gravity.
You can find out more from the following website:
Copyright © 2005-2016, AstroGrav Astronomy Software