Index of every page on this site: llms.txt
All skills
dylantarre avatar

/anticipation-mastery

@8359713
Run it yourself

Use when designing action sequences, user interactions, state transitions, or any motion that needs telegraphing to feel intentional rather than sudden.

Use this Skill: https://skilld.dev/gh/dylantarre/animation-principles/anticipation-mastery

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈44 tokens for metadata: the name and description. ≈882 when used: this file.

Description uses 2.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈175 characters, or 2.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Anticipation Mastery

The Setup Principle

Anticipation prepares the audience for action. Discovered through theatrical observation, Disney animators found that without a preparatory movement, actions appeared to happen "out of nowhere"—confusing rather than exciting. The principle: before any significant action, there must be a counter-movement.

Core Theory

Newton's Third Law, Visualized: Physical actions require preparation. A pitcher winds up before throwing. A cat crouches before pouncing. Anticipation makes this mechanical necessity visible and dramatic.

Attention Direction: Anticipation tells viewers where to look and what to expect. It transforms surprise into suspense—a more engaging emotional state.

The Three Functions

  1. Physical preparation: The body must coil to spring (jumping, throwing, punching)
  2. Mental preparation: The audience needs time to register incoming action
  3. Emotional preparation: Building tension before release amplifies impact

Timing Dynamics

Duration signals magnitude: Brief anticipation (2-4 frames) for small actions. Extended anticipation (12-24 frames) for major moments. A full second of wind-up tells viewers something significant is coming.

Inverse proportion: The bigger the anticipation, the faster the following action can be while remaining readable.

Interaction with Other Principles

Staging depends on anticipation: The preparatory pose directs attention to where action will occur.

Timing is defined by anticipation ratio: Classic formula is 1:2—one beat of anticipation for two beats of action.

Squash/stretch often appears here: Characters compress before explosive movement.

Exaggeration amplifies anticipation: Cartoon wind-ups exceed physical possibility for comedic effect.

Domain Applications

UI/Motion Design

  • Button hover states: subtle scale-up anticipates the click response
  • Page transitions: brief pause or micro-movement before navigation
  • Loading states: pulsing or winding animation before content appears
  • Drag interactions: slight resistance before element "releases"

Character Animation

  • Jump preparation: full crouch with held pose before launch
  • Punch delivery: shoulder rotation backward before forward strike
  • Emotional shifts: beat of stillness before reaction

Micro-interactions

  • Toggle switches: brief compression before snap to new state
  • Notifications: subtle entrance from off-screen before settling
  • Tooltips: micro-delay with subtle scale from origin point

Game Design

  • Attack wind-ups: readable tells that allow player response
  • Ability charging: visual buildup matching power accumulation
  • Boss patterns: exaggerated anticipation creates learnable mechanics

Common Mistakes

  1. Skipping anticipation entirely: Actions feel robotic and sudden
  2. Over-anticipating minor actions: Creates sluggish, over-animated feel
  3. Wrong direction: Anticipation must oppose the action direction
  4. Uniform timing: Vary anticipation length based on action importance

The Reversal Technique

For comedic or surprising effect, violate anticipation expectations. Long wind-up followed by tiny action. No wind-up before massive action. The principle's power is proven by how jarring its absence feels.

Implementation Heuristic

Every action above 200ms duration should have anticipation. Scale anticipation duration to 30-50% of the main action. When actions feel "empty," anticipation is usually missing.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    No security issues were detected. The skill contains purely educational content about animation principles and does not include any executable code, network requests, or sensitive operations.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 8359713. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Dormantupdated 11 months ago

README badge

README badge for dylantarre/animation-principles/anticipation-mastery