Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.54 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.54 KB

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.