Runtime interaction

Controls expose the current physics scene.

The controls stay small because the project is a lab bench, not a cockpit. Each input changes the camera or presentation layer, not the physics state.

Keyboard and mouse

Tab

Cycle camera focus across the body catalog.

C

Cycle camera focus using the alternate key path.

V

Toggle illustrative scale and real-scale rendering.

Mouse wheel

Zoom around the focused body with clamp protection.

Camera model

src/app/orbit_camera.c keeps focus, distance, and pitch stable. The camera target follows the selected body and slowly auto-orbits around it.

Zoom changes distance only. The fixed pitch avoids flip or orientation corruption at maximum zoom.

Focus order

Sun → Mercury → Venus → Earth → Moon → Mars → Phobos → Deimos