Skip to content

A simulation of the solar system using Python and Panda3D

Notifications You must be signed in to change notification settings

ryjpink/planetarium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planetarium

A simulation of the solar system using Python and Panda3D.

GIF of the application window showing the sun and planets

Installation

Create a virtual environment and use the package manager pip to install the dependencies.

# Create the virtual environment
python3 -m venv venv

# Activate the virtual environment
.\venv\Scripts\activate.bat # on Windows
. venv/bin/activate # on macOS/Linux

# Install the dependencies
pip3 install -r requirements.txt

Usage

Simply run the main file:

python solar_system.py

Backlog / Future improvement ideas

  • Realistic lighting: Self-shadowing, day-night cycle, sun occlusion.
  • Animated cloud textures.

License

The code is licensed as MIT. For the assets, please see the respective license notices in the models folder.

About

A simulation of the solar system using Python and Panda3D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages