dylantarre/animation-principles

playfulness-fun

Use when creating animations that entertain, engage with humor, or create lighthearted interactive experiences.

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/dylantarre/animation-principles --skill playfulness-fun

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

Playfulness & Fun Animation

Create animations that entertain, surprise, and make interactions genuinely enjoyable.

Emotional Goal

Playfulness invites interaction through unexpected, whimsical motion. Fun comes from animations that have personality, respond expressively, and make users smile.

Disney Principles for Playfulness

Squash & Stretch

Generous, exaggerated (25-40%). Rubbery, cartoon physics. Objects should feel alive and reactive. Bounce like a beach ball.

Anticipation

Exaggerated wind-ups (150-250ms). Comic timing—big preparation for big payoff. Elements "think" before acting.

Staging

Theatrical presentation. Clear setup and punchline. Give playful moments room to breathe and be noticed.

Straight Ahead Action

Embrace spontaneity. Wobbly paths, unpredictable bounces. Characters and elements with minds of their own.

Follow Through & Overlapping Action

Extensive, bouncy follow-through. Overshoots, wobbles, and settling. Like a cartoon character skidding to a stop.

Slow In & Slow Out

Asymmetric with overshoot. Quick starts, bouncy landings. cubic-bezier(0.68, -0.55, 0.265, 1.55) for elastic effect.

Arc

Exaggerated, bouncy curves. High arcs for jumps. Squiggly paths for personality. Nothing moves in straight lines.

Secondary Action

Abundant! Wiggles, sparkles, expressions. Elements react to each other. The whole interface feels alive.

Timing

Varied and expressive (100-500ms). Quick snaps, slow anticipation. Comic timing with beats and pauses.

Exaggeration

High (30-50%). Push movements to cartoon levels. Impossible physics that feel emotionally true.

Solid Drawing

Maintain appeal through deformation. Stretched elements stay charming. Volume shifts for effect.

Appeal

Round, friendly shapes. Bright, saturated colors. Big eyes, expressive forms. Character in everything.

Timing Recommendations

ElementDurationEasing
Bounce400-600msspring(1, 60, 8)
Wiggle300-400msease-in-out
Pop150-250msease-out-back
Squash100-150msease-out

CSS Easing

css
--play-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
--play-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
--play-wobble: cubic-bezier(0.45, 0.05, 0.55, 0.95);

Fun Animations

css
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes boing {
  0% { transform: scale(1); }
  30% { transform: scale(1.25, 0.75); }
  50% { transform: scale(0.85, 1.15); }
  70% { transform: scale(1.05, 0.95); }
  100% { transform: scale(1); }
}

When to Use

  • Games and gamification
  • Children's interfaces
  • Social media reactions
  • Onboarding tutorials
  • Empty states
  • Easter eggs
  • Casual apps
  • Entertainment platforms

Correlati per attività

dallo stesso repository

Altri Skills

Tutti gli Skills