dylantarre/animation-principles

playfulness-fun

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

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/dylantarre/animation-principles --skill playfulness-fun

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills