Skip to content
ExtremerBGPublic

About

A simple 2D orbital simulator.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Orbit-Sim

A simple 2D orbital simulator written in Python using pygame-ce. Simulates planets orbiting a primary body and provides camera controls, configurable objects and UI stats.

Features

  • Realistic Newtonian gravity for multiple bodies
  • All celestial objects are fully configurable
  • Supports camera tracking and free movement

Start with Python

  1. Install dependencies:
pip install -r requirements.txt
  1. Run the app with:
python main.py

Start with the compiled version

Download and launch the lastest .exe file in the releases section.

Controls

  • Q / E: Cycle camera focus on bodies (next / previous)
  • W A S D or Arrow keys: Freely move the camera around
  • Z / X: Increase or decrease the simulation timescale
  • P: Pause / unpause simulation
  • C: Clear object paths (helps if fps starts to drop)
  • F: Toggle fullscreen

Project layout

Assets

Assets are stored under the assets/ folder (images, sounds, themes). The app falls back to placeholder assets if files are missing.

License

MIT — see LICENSE.

About

A simple 2D orbital simulator.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages