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

/squash-stretch-mastery

@8359713
Run it yourself

Use when implementing deformation effects, bounce animations, impact responses, or any motion requiring organic elasticity and weight expression.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈42 tokens for metadata: the name and description. ≈728 when used: this file.

Description uses 2.1% 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 ≈170 characters, or 2.1%.

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.

Squash & Stretch Mastery

The Foundation Principle

Squash and stretch is considered the most important of Disney's 12 principles because it solves animation's fundamental problem: making rigid objects feel alive. Developed in the 1930s at Disney, it emerged from observing how real flesh and rubber deform under force while maintaining constant volume.

Core Theory

Volume Preservation: When an object squashes, it must widen. When it stretches, it must narrow. This constraint creates believability—violate it and objects appear to grow or shrink rather than deform.

Force Visualization: Squash and stretch makes invisible forces visible. A ball squashing on impact shows us the floor's resistance. A character stretching mid-leap reveals velocity and momentum.

The Elasticity Spectrum

Not all objects deform equally:

  • High elasticity: Rubber balls, cartoon characters, jelly (extreme deformation)
  • Medium elasticity: Human faces, cloth, muscle (subtle deformation)
  • Low elasticity: Wood, metal, bone (minimal but present micro-deformation)

Even "rigid" objects benefit from 1-2% deformation—it prevents the dead, mechanical feel.

Interaction with Other Principles

Timing amplifies squash/stretch: Fast impacts demand more squash; slow floats need gentle stretch. The deformation amount must match velocity.

Anticipation uses stretch: A character winding up for a jump often stretches slightly before the motion begins.

Follow-through extends it: After landing, the squash ripples through secondary elements (hair, clothing, flesh).

Domain Applications

UI/Motion Design

  • Button press: subtle squash (95-98% height) on tap
  • List items: stretch slightly when pulled beyond bounds (rubber-band scroll)
  • Notifications: squash on arrival, bounce to rest

Character Animation

  • Facial expressions: cheeks squash on smile, stretch on surprise
  • Walk cycles: torso compresses on contact, extends on passing
  • Emotional beats: extreme stretch for shock, squash for dejection

Logo Animation

  • Bouncing logos: exaggerated squash creates playful personality
  • Subtle breathing: micro-squash/stretch keeps static logos alive

Game Feel

  • Jump arcs: stretch on ascent, squash on landing
  • Hit reactions: brief squash sells impact before knockback
  • Collectibles: rhythmic pulse using gentle squash/stretch

Common Mistakes

  1. Breaking volume: Objects appear to grow/shrink instead of deform
  2. Uniform deformation: Real objects deform more where force is applied
  3. Over-application: Subtle contexts need 1-5%, not cartoon 50%
  4. Static extremes: Deformation should ease in/out, never snap

Implementation Heuristic

Start with 10% deformation for energetic motions, 2-3% for subtle polish. Adjust based on material and tone. When in doubt, less is more—squash/stretch should be felt, not consciously noticed.

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

    This skill is completely safe and contains only educational and theoretical documentation about the 'Squash & Stretch' animation principle. It does not include any code, command execution, or risk surfaces.

  • 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/squash-stretch-mastery