Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.15 KB

Solar System Simulation with Pygame

This Python application simulates our solar system using the Pygame library. It includes the following celestial bodies:

  1. Sun
  2. Earth
  3. Mars
  4. Venus
  5. Mercury

You can add more planets, moons, and satellites. Additionally, you can customize their initial velocity, mass, and distance to create your own interactive solar system model.

Feel free to explore and experiment with different parameters! 🌏🪐☀️


How to run

  • install python 3.9 or later.
  • install pygame from pip.
  • and run runme.py file from the project.
  • python runme.py orpython3 runme.py

Demo

Nonal speed and mass mass of earth is x10000 all objects mass x3 all planets mass x100 unstable system unstable system


NOTE: If you have any suggestions feel free to pull requests or issue here.