Window Avatar
Animation and shape parameters for Ferni's signature window avatar system. The window creates the illusion of Ferni peeking through the interface.
The Window Concept
The avatar appears to peek through a "window" in the UI. The top and bottom lids act as masks that reveal different amounts of the face, creating expressions without changing the eyes themselves.
- Top lid: Controls brow/forehead visibility
- Bottom lid: Creates mouth/speaking effect
- Cutoff: How much of the face is visible
- Curve: Shape of the mask edge
- Asymmetry: Left-right difference for expressiveness
Expression Presets
Neutral
Surprised
Sleepy
Happy
Thinking
Curious
Empathetic
Listening
Speaking Animation
The bottom lid opens based on voice volume, creating natural lip sync.
Bottom Lid Speaking
- Min cutoff: 0.10 (barely open)
- Max cutoff: 0.35 (fully open)
- Volume scale: 0.25 (sensitivity)
Smoothing
- Attack: 0.25 (fast response)
- Release: 0.12 (slow decay)
Spring Physics
- Stiffness: 400
- Damping: 25
- Mass: 1
Phoneme Shapes
Mouth shapes for different speech sounds.
Animation Timing
Mouth
- Idle: 200ms
- Speaking: 60ms
- Transition: 300ms
Brow
- Raise: 250ms
- Lower: 400ms
- Transition: 350ms
Expression
- Micro-expression: 80ms
- Transition: 300ms
- Hold: 500ms
State Transitions
Connecting
pulse animation
Thinking
contemplative-drift
Listening
attentive-lean
Speaking
voice-reactive
Farewell
gentle-close
Scale Variants
Avatar size affects window visibility and expression range.
Eyes only - favicon, badge
Minimal expression - nav, lists
Full expression - main avatar
Maximum detail - hero, onboarding
Notification Badge
8px, no count
16px, 1-2 digits
20px, standard
Badge Variants
Urgent notifications
Non-urgent counts
Completed tasks
Persona-specific