Skip to content

th code: rainbow working ribbon + Big Smooth pop/tilt/wink intro - #774

Merged
brentrager merged 1 commit into
mainfrom
th-code-colorful-spinner
Oct 7, 2026
Merged

brentrager merged 1 commit into
mainfrom
th-code-colorful-spinner

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

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).
  • New 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 into avatar_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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8abe405

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smooai/smooth Minor

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

@brentrager
brentrager merged commit 43c3e1d into main Oct 7, 2026
5 checks passed
@brentrager
brentrager deleted the th-code-colorful-spinner branch October 7, 2026 02:39
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