Python code to illustrate trajectories related to asteroids and space ships using Runge–Kutta Differential Equations. All the classes are defined on the same file. There is currently an issue with infinite loops in the illustration but the slider is fully functional.
You can access the google colab notebook through the .py file or you can run the code on your own