Repository navigation
th code: rainbow working ribbon + Big Smooth pop/tilt/wink intro - #774
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 8abe405 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Problem
Brent didn't like the mini Big Smooth face as the working animation and wanted something colorful. He also suggested animating the top Big Smooth (pop up / tilt / wink) once on startup.
Solution
avatar.rs: the working indicator is now a rainbow double-helix ribbon: two sine strands on a half-block grid, hue sweeping along x and drifting over time, back strand dimmed. 3 rows, 12.5 fps, frame derived from turn elapsed time. Same gating (NO_COLOR / reduced motion).intro.rs: fresh sessions play a ~1.4s intro in its own inline viewport before the app's: pop up from below with overshoot, lean, wink, swing back, then settle on the exact static splash avatar. Only the rest of the splash then goes to scrollback. Skipped on resume, NO_COLOR / reduced motion, non-TTY and small terminals. Any key skips it (the key stays queued).render.rs: avatar art hoisted intoavatar_lines(shift, wink)so the splash and intro share it; splash split into avatar +welcome_banner_tail_lines.Verification
cargo test -p smooai-smooth-code --lib: 387 passed. New tests cover: ribbon animates and is colorful, hsv, intro frame widths, rest frame == splash, pop, tilt, wink.🤖 Generated with Claude Code