You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idle CPU throttle, moon phase direction, rustfmt pass
Polish before public push.
1. Idle CPU throttle. The main loop now drops to IDLE_FPS (1 fps) when
auto-rotation is off (or running at real time with no input for the
last 2 s). Real-time rotation only moves the subsolar point 0.004°/s,
which is below the visual change threshold of one cell — so 1 fps is
visually equivalent. Saves about 30× CPU when the tool sits in a
corner of the desktop. AppState::is_idle() exposes the decision so
the main loop stays declarative.
2. Moon phase direction. Status line now shows "↑" for waxing and "↓"
for waning, derived from comparing illumination(now) vs.
illumination(now + 6h). A dead-band of ±0.003 around the wendepunkt
(full/new moon) leaves the arrow off when the phase is stationary.
3. cargo fmt --all + strict format check in CI. The CI fmt step was
previously continue-on-error; with the codebase now formatted, the
guard is hard so future contributions stay tidy.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments