Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abrarshakhi/solar-system-simulation

This Python application simulates our solar system using the Pygame library.
https://github.com/abrarshakhi/solar-system-simulation

Last synced: 6 days ago
JSON representation

This Python application simulates our solar system using the Pygame library.

Awesome Lists containing this project

README

        

# 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` or`python3 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.