Skip to content

A simulation of planets, satellites and their orbits around the sun using PyGame.

Notifications You must be signed in to change notification settings

Oakchris1955/PyGame-Planet-Simulation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-Planet-Simulation

A simulation of planets and their orbits around the sun in Python.

Installation

  1. Install Python from here
  2. Install Git from here
  3. Open cmd.exe/shell and cd to the directory you wanna install the program
  4. Type git clone https://github.com/Oakchris1955/PyGame-Planet-Simulation
  5. cd to the directory created by typing cd PyGame-Planet-Simulation
  6. Type pip3 install -r requirements.txt for Windows or python3 -m pip install -r requirements.txt to install the prerequisites
  7. That's it. Now all you have to do is run main.py

What is this?

This is a fork of techwithtim's repository about Making a Planet Simulation with Python. It adds some extra features.

What extras does it have?

  1. Click a planet to select it
  2. Planet are viewed on their actual size
  3. You can drag the screen...
  4. ...and you can zoom in and out too
  5. To reduce lag, only some recent parts of the orbit are drawn, while the other fade away. This reduces lag by a lot
  6. And more features are expected to come

About

A simulation of planets, satellites and their orbits around the sun using PyGame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%