Planetarium
Simple simulation of the Solar system
Install / Use
/learn @monomon/PlanetariumREADME
Planetarium

This is a solar system model.
It uses OpenGL and SDL for graphics and ui.
Data mostly from nasa factsheet.
Textures from solarsystemscope
Starting
Add Planetarium to the quickload load path and start its main function
(ql:quickload 'planetarium)
(planetarium::main)
On my Linux system I need to add /usr/lib/x86_64-linux-gnu to the path, otherwise SDL2 does not get loaded.
Navigation
Currently the navigation is always centered on the sun, and you move in a sphere around it. Real 6 dof navigation should be implemented eventually.
You can navigate using the keyboard:
- ↑ - view pitch up
- ↓ - view pitch down
- ← - roll left
- → - roll right
- w - move forward toward the center
- s - move away from the center
- a - rotate view left
- d - rotate view right
- t - toggle planets rescaling - useful because planets are too small in their actual size
- . - increase time rate
- , - decrease time rate
- r - reset camera
- o - toggle orbits drawing
- 8 - fast travel
- 6 - slow travel
Inaccuracies
Note that this is a simple simulation of planets moving in predefined orbits, and thus far from a "real" Solar system simulation.
There also is no "phase" information, and thus all planets start at the same radial line.
License
GPL-2.0
Related Skills
node-connect
329.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
329.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.1kCommit, push, and open a PR
