Skip to content

NMSh's own shaders: 5 cursor/typing effects and 3 welcome/image effects for Kitty and Ghostty - #530

Draft
raiseCatError wants to merge 3 commits into
feature/nmsh-backups-reset-20261029from
feature/nmsh-custom-shaders-20261029
Draft

raiseCatError wants to merge 3 commits into
feature/nmsh-backups-reset-20261029from
feature/nmsh-custom-shaders-20261029

Conversation

@raiseCatError

Copy link
Copy Markdown
Owner

Stacked on the backups PR. Adds NMSh's own original shaders, generated for both Kitty (Slang, written next to NMSh's pipeline) and Ghostty (GLSL), in two new Shader Studio categories.

  • Cursor & typing: Ink Bloom, Type Garden, Filament, Glitch Hop, Gravity Lens.
  • Welcome & images, for the welcome logo and fastfetch/neofetch art (plain text is left alone): Holo Foil, Shine Sweep, Halo Bloom.

Each effect has at most three simple settings (Color, Strength, Speed or cadence), a one-line description and its own terminal-text preview. Only one cursor effect runs at a time, trails included.

For Kitty, NMSh's include sets cursor_trail_start_threshold 0 and cursor_trail_decay 6 12 while a typing effect is active. This is needed because Kitty reports the cursor to shaders only during trail animation, and by default does not start a trail for a one-cell move; the review says so. .slang files are recorded by hash, never overwritten when unrecorded or edited, and removed by R.

GPU evidence (disposable Kitty 0.49.2 and Ghostty 1.3.1, files written through NMSh's own plan/apply) is in the evidence folder shaders/gpu/shots/.

Known gaps: Ghostty on Linux was not tested, since its y axis differs per platform. Glitch Hop is mild within one row and Gravity Lens is deliberately subtle. On Kitty, Holo Foil, Halo Bloom and Shine Sweep's timed cadences redraw continuously. /cursor status calls NMSh's Kitty cursor effects a "custom trail shader".

Tests: 179 focused tests on the combined stack pass, including live compiles with Kitty's shader compiler. tsc is clean.

…d Kitty

Eight original effects (Ink Bloom, Type Garden, Filament, Glitch Hop, Gravity
Lens, Holo Foil, Shine Sweep, Halo Bloom) generated for both hosts from one
GLSL-subset source. Each has at most three friendly choices. Ghostty gets
generated passes; Kitty gets NMSh-written .slang files beside NMSh's pipeline,
recorded in the ownership ledger and removed exactly. Typing effects are the one
cursor effect and start Kitty's trail on one-cell moves.
…reviews

Both studios list NMSh's eight effects in two new categories, each with a
one-line plain description, a note that one cursor effect runs at a time, and
that welcome effects leave plain text alone. Each effect has its own small,
distinct terminal-text preview that animates only while it runs and is still
under Reduced Motion, Effects Off and NO_COLOR.

This branch has not been deployed

No deployments
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