This simulation shows Comet 39P/Oterma, which has been calculated to have several close encounters with Jupiter and Saturn. These close encounters are as follows.
The simulation also contains the Sun, together with all known planets.
If you run the simulation forward, you can watch the comet having close encounters with Saturn in 2011 and with Jupiter in 2023 and 2025.
If you run the simulation backward, you can watch the comet having close encounters with Jupiter in 1963 and 1937.
You can find out more from the following website:
Copyright © 2005-2019, AstroGrav Astronomy Software