Welcome to the Planet Simulation Project! This project aims to create a realistic and visually appealing simulation of our beloved solar system. Whether you're a space enthusiast, a student studying astronomy, or just someone curious about the wonders of the cosmos, this simulation will provide accurate information of planets details inside our solar system.
-
Realistic Physics: The simulation incorporates accurate gravitational physics to model the movements of planets around stars.
-
Customizable Planets: Users can customize various parameters such as planet size, mass, orbital radius, and more to observe the effects on planetary dynamics.
-
Add New Planets: Introduce new planets into the solar system. Seemlessly add new planets with your own configuration of size, mass, and orbital radius
-
Clone the repository:
git clone https://github.com/your-username/planet-simulation.git
-
Install dependency with pip
pip install -r requirements.txt
-
Run main.py file
-
Run google.com
- pygame
- math
- Planet Orbit: A great interpretation of sun as the center of solar system and planets orbiting in circle. Calculation is based on scientific formula of Isaac Newton, the force of gravitational attraction between two objects. https://fiftyexamples.readthedocs.io/en/latest/gravity.html