A gravitational field simulator in Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
CONTRIBUTING.md
LICENSE
README.md
eg.gif
main.py
requirements.txt

README.md

pylanets

A gravitational field simulator in Python. Install numpy and pygame then run main.py.

Controls

  • use the mouse wheel to zoom.
  • use q/a to switch between objects to follow.
  • use z to switch to free roam mode.
  • use w/s to speed the simulation up/down.
  • use d/e to change the drawing size of the objects.