Skip to content

metidev/planet-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Planet Simulator

Preview

This repository contains a Planet Simulator written in Python using the PyGame library. The simulator allows you to simulate a solar system with planets, their orbits, rotations, and movement. It's a graphics programming example that provides an interactive way to explore the dynamics of celestial bodies.

Getting Started

To run the Planet Simulator, follow these steps:

  1. Install Python 3.x on your system if not already installed.
  2. Install the PyGame library by running the following command:
    pip install pygame
    
  3. Clone this repository to your local machine:
    git clone https://github.com/metidev/planet-simulator.git
    
  4. Navigate to the cloned repository's directory:
    cd planet-simulator
    
  5. Run the simulation by executing the planets.py script:
    python solar.py
    

Features

  • Simulate the orbits and rotations of planets in a solar system.
  • Adjust the viewpoint to explore the simulated universe.
  • Interact with the simulation to better understand the movements of planets.

Preview

You can preview the simulation by clicking on the following link: Preview

Acknowledgements

This project was inspired by the works of other developers who have created similar solar system simulations using PyGame and Python. Special thanks to the following repositories:

  1. ShreyRavi/SolarSystem
  2. elbanic/SolarSystem
  3. Kuwertzel/PyPlanets

Please refer to their repositories for additional insights and inspirations.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages