Repository navigation
Feat/starry sky - #9
Merged
Merged
Conversation
added 8 commits
September 22, 2026 14:08
Stars are drawn only into blank cells after the screen content, so they never cover the timer, label or menu. STAR_COUNT is a constant, ready to become a function of hours worked.
Streaks run on their own time slots (one chance every 5 s), independent of STAR_COUNT, and like the stars only paint blank cells.
Two-armed spiral drawn with the session star glyphs (. + *), one turn every 4 minutes on the wall clock so it carries on across screens. Cells sparkle one step at their own rhythm, and a few twinkling field stars (no shooting stars) surround it. Everything only fills blank cells, so the menu and Staz stay on top.
The starry sky replaces the mascot: drop the Staz module, its ASCII frames and the overlay in the draw loop. README and demo tape updated.
Four themes (dark/light × blue/red stars) paint the whole app and the skies. Home gets a Settings button; changes apply live and are saved to config.toml (theme, galaxy, session_stars), keeping other keys.
Arms, rotation period, tilt, arm winding, sparkle and field stars are now settings (saved as galaxy_* keys, clamped on load). Appearance becomes a single struct; the galaxy is rebuilt from it when Home opens.
The ellipse keeps its tilt-set proportions and scales to fit, instead of being flattened on short terminals. Particle count follows the fitted area (~3 per cell, rebuilt only on resize or shape change), so the arms stay readable small and don't turn to speckle large. The galaxy is centred in the space below the menu, with a margin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.