Use arrow keys to change the trajectory of the object. (This just applies force to the object.)
This is intended to be a minimap for a game I hope to develop further. This is just the concept of displaying a trajectory line for an orbiting object. The line only predicts just a few seconds ahead. I am not very good at rocket science, so if someone can tell me an easy equation to find the orbital period given the current velocity, flight path angle, and gravity, and maybe some other important information, then that would be appreciated. This simulation doesn't calculate the apogee and perigee, so that would also be a useful equation I could use.