Skip to content

Feat/starry sky - #9

Merged
SimonBure merged 8 commits into
mainfrom
feat/starry-sky
Sep 22, 2026
Merged

SimonBure merged 8 commits into
mainfrom
feat/starry-sky

Conversation

@SimonBure

Copy link
Copy Markdown
Owner

No description provided.

Simon 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.
@SimonBure
SimonBure merged commit 54ab009 into main Sep 22, 2026
1 check passed
@SimonBure
SimonBure deleted the feat/starry-sky branch September 22, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant