Feat/elephant splash - #75
Open
tusharmalpani20 wants to merge 29 commits into
Open
Conversation
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.
Summary
Adds a new elephantsplash effect featuring a playful purple elephant that walks along the bottom of the canvas, stops at a puddle,
draws water into its trunk, and sprays it toward the input text to reveal it.
The elephant is implemented as a coordinated multiline sprite. Every character remains locked to one shared origin, preventing
body deformation or independently drifting glyphs. After revealing the text, the elephant raises its trunk, walks out, and leaves
the completed text stationary.
Highlights
Animation architecture
The elephant uses TTE’s existing BaseEffect and BaseEffectIterator architecture and normal terminal lifecycle.
Individual elephant characters do not receive independent motion paths. A central state machine controls the shared sprite origin
and current pose through entering, walking, settling, drinking, revealing, holding, raising the trunk, and walking out.
TTE paths and scenes remain responsible for independent water particles, colour transitions, and the final text reveal.
Testing
The full repository suite was not run. Verification was limited to Elephant Splash and directly affected components.
Demo
Omarchy screensaver demo
uv run tte \ --input-file ~/.config/omarchy/branding/screensaver.txt \ --frame-rate 30 \ --canvas-width 160 \ --canvas-height 48 \ --ignore-terminal-dimensions \ --anchor-canvas c \ --anchor-text c \ elephantsplash