Hold mouse pointer to create an asteroid. If you hold q in that time you summon an asteroid ring. Then move your mousepointer to give the asteriod some speed. Then stop holding mouse and then it should summon. You also have a spaceship. Steer it with z,g,h,j. Move your camera with wasd and zoom in and out with up and down arrow. click f to switch beetween info and trail mode. Press r to restart it. Press 0 to delete all pen things. Press t to delete all current objects. Im working on the same but in 3d.
Thanks to @HeldDerSteine10 for the new intro It‘s based on all knowledge about gravity. I tested it with a 4. Place from ChatGPT recommended gravity simulation and it was with same infos Identical. So it‘s realistic. Of curse the time in this project goes faster because it would be to slow if it wouldnt