Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 907 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 907 Bytes

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.