Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/abrarshakhi/solar-system-simulation
- Owner: AbrarShakhi
- License: mit
- Created: 2024-07-01T13:41:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-30T07:09:00.000Z (9 days ago)
- Last Synced: 2025-01-30T08:19:59.026Z (9 days ago)
- Language: Python
- Homepage:
- Size: 134 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.