Status: Complete ✅
A program that simulates an orbit of a rock around the planet. Python, Pygame library and gravity equations were used to build the project.
- Left Mouse Button: Creates a new object
- Key P: Pause
- Key UP: increase the y force, direction UP
- Key Down: decrease the y force, direction DOWN
- Key Right: increase the x force, direction RIGHT
- Key Left: decrease the x force, direction LEFT
- zoom
Python | Pygame |
3.10.5 | 2.1.2 |
- Install Python interpreter
- run shell: pip install pygame
- run shell: python main.py