This simulation shows Comet 39P (Oterma), which has been calculated to have several close encounters with Jupiter and Saturn in both the past and the future. These close encounters are as follows.
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.
Since different computers run at different speeds, you may need to edit the evolution time step to get the simulation to run at an acceptable rate.
You can find out more about Comet 39P (Oterma) from the following website:
Copyright © 2005-2023, AstroGrav Astronomy Software