Solar System Simulation in Python using Pygame.
Inspired by @techwithtim's Youtube video.
- Require pygame package installed. Go to pygame official website for more information on pygame installation.
- Show distance from the planets to the Sun by using D.
- Turn on/off drawing orbit lines of the planets by using S.
- Move around using arrow keys or mouse by move the mouse to the edges of the screen.
- Recenter to the Sun by using C.
- Pause/Unpause by using Space-bar.
- Zoom in/out by using Scroll-wheel.
- Exit the simulation by using X or Esc.