feat: livelier character animations and improved timing#100
Open
Commandershadow9 wants to merge 1 commit intopablodelucca:mainfrom
Open
feat: livelier character animations and improved timing#100Commandershadow9 wants to merge 1 commit intopablodelucca:mainfrom
Commandershadow9 wants to merge 1 commit intopablodelucca:mainfrom
Conversation
Characters feel static and lifeless with the current default timing values. This improves the experience by tuning animation constants for more dynamic behavior: - Faster typing animation (0.3s → 0.18s per frame) for more energetic feel - Shorter seat rest before wandering (2-4min → 30-70s) - Shorter wander pauses (2-20s → 1-6s) for smoother roaming - More wander steps per cycle (3-6 → 5-12) so characters explore further - Quicker transition from inactive to idle (3-5s → 1.5-2.5s) - Longer speech bubbles (2s → 15s) so users can read tool status - Slower bubble fade (0.5s → 1.5s) for smoother transition - Slower dismiss bubble fade (0.3s → 2s) - Dramatically slower matrix spawn effect (0.3s → 1.8s) making sub-agent spawns a visible event instead of an instant flash - Wider matrix column stagger (0.3 → 0.4) for cascading rain effect - Idle breathing animation: characters subtly shift between walk frames every 2.5s instead of being completely frozen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Motivation
Characters currently feel static — they sit frozen for 2–4 minutes between movements, status bubbles vanish after just 2 seconds (too fast to read), the matrix spawn effect is nearly invisible at 0.3s, and idle characters are completely still with no animation.
This makes the office feel lifeless, even when agents are actively working.
Changes
All changes are isolated to constant values and one small animation loop — no architectural changes, no new dependencies.
Timing constants (
webview-ui/src/constants.ts)TYPE_FRAME_DURATION_SECSEAT_REST_MIN/MAX_SECWANDER_PAUSE_MIN/MAX_SECWANDER_MOVES_BEFORE_REST_MIN/MAXINACTIVE_SEAT_TIMER_MIN_SECINACTIVE_SEAT_TIMER_RANGE_SECWAITING_BUBBLE_DURATION_SECDISMISS_BUBBLE_FAST_FADE_SECBUBBLE_FADE_DURATION_SECMATRIX_EFFECT_DURATION_SECMATRIX_COLUMN_STAGGER_RANGEIdle breathing animation (
webview-ui/src/office/engine/characters.ts)IDLE_FRAME_DURATION_SEC = 2.5constantWhy this matters
The core appeal of Pixel Agents is watching characters react to your development workflow. These changes make the office feel alive even during quiet moments, and ensure that important status information (tool bubbles, spawn effects) is actually visible to the user.
Test plan
🤖 Generated with Claude Code