src/sim/
raylib-independent bodies, constants, Vec3d math, Newtonian acceleration, Verlet stepping, and scene factories.
Repository map
The project is intentionally plain C. Simulation, app state, and raylib rendering live in separate directories so each new planet or moon can be reviewed as a physics milestone.
src/sim/raylib-independent bodies, constants, Vec3d math, Newtonian acceleration, Verlet stepping, and scene factories.
src/app/orbit camera state, body trails, labels, and other window-independent app helpers.
src/render/raylib conversion from SI-unit simulation state into readable 3D drawing policies.
src/main.cnative window loop, Emscripten callback loop, input handling, simulation stepping, and draw orchestration.
tests/focused C binaries for physics and app behavior without requiring a desktop window.