agentleFS
dylantarredylantarre/animation-principles/skills/09-by-tool-framework/after-effects/SKILL.md

after-effects

Skill94 starsChanged 11 months agoMITView on GitHub

Use when implementing Disney's 12 animation principles in Adobe After Effects

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When Y compresses, X expands

    line 21
  2. Distinctive:

    Use Easy Ease on anticipation keyframes for smooth wind-up.

    line 32
  3. Distinctive:

    Use depth of field (Camera > Depth of Field)

    line 37
  4. Distinctive:

    Use vignettes to direct focus

    line 39
  5. Distinctive:

    Use Graph Editor to adjust timing

    line 48
  6. Distinctive:

    Use Onion Skin (Layer > Onion Skin)

    line 52
  7. Distinctive:

    Use parenting with delayed wiggle

    line 63
  8. Distinctive:

    Use Position property's bezier handles

    line 82
  9. Distinctive:

    Add secondary on separate layer/property

    line 89
  10. Distinctive:

    Use 3D layers for depth

    line 129
  11. Distinctive:

    Use light and shadow

    line 132
  12. Distinctive:

    Consider volume in all poses

    line 133

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

After Effects Animation Principles

Implement all 12 Disney animation principles using After Effects' powerful animation tools.

1. Squash and Stretch

// Expression for automatic squash/stretch
s = transform.scale[1];
x = 100 + (100 - s) * 0.5;
[x, s]

Or manually:

  • Keyframe Scale X and Y inversely
  • When Y compresses, X expands
  • Maintain volume (X * Y ≈ constant)

2. Anticipation

Timeline structure:

  • 0-10f: Wind-up (crouch, pull back)
  • 10-12f: Transition
  • 12-30f: Main action
  • 30-40f: Settle

Use Easy Ease on anticipation keyframes for smooth wind-up.

3. Staging

Techniques:

  • Use depth of field (Camera > Depth of Field)
  • Apply blur to background layers
  • Use vignettes to direct focus
  • Adjust opacity of secondary elements
  • Light the main subject brighter

4. Straight Ahead / Pose to Pose

Pose to Pose (recommended):

  1. Set keyframes at key poses
  2. Fill in breakdowns
  3. Use Graph Editor to adjust timing

Straight Ahead:

  • Animate frame-by-frame
  • Use Onion Skin (Layer > Onion Skin)

5. Follow Through and Overlapping Action

// Delay expression for child layers
thisComp.layer("Parent").transform.position.valueAtTime(time - 0.05)

Or:

  • Offset child keyframes by 2-5 frames
  • Use parenting with delayed wiggle
  • Apply spring expression to end values

6. Slow In and Slow Out

  • Select keyframes > F9 (Easy Ease)
  • Graph Editor > Adjust bezier handles
  • Steeper curve = faster movement
  • Flatter curve = slower movement
// Custom ease expression
ease(time, inPoint, outPoint, startValue, endValue)

7. Arc

Techniques:

  • Draw motion path with Pen tool
  • Use Position property's bezier handles
  • Layer > Transform > Auto-Orient
  • Apply path from shape layer to position

8. Secondary Action

  • Animate main action first
  • Add secondary on separate layer/property
  • Offset timing slightly
  • Secondary should complement, not compete

Example: Character waves → Hair follows → Clothing shifts

9. Timing

FramesFeel
2-4Snappy, instant
6-8Quick, energetic
12-15Normal pace
20-30Slow, heavy
40+Dramatic, weighted

Adjust composition frame rate for overall feel (24fps cinematic, 30fps smooth).

10. Exaggeration

// Overshoot expression
amp = 15;
freq = 3;
decay = 5;
t = time - key(numKeys).time;
if (t > 0) {
  value + amp * Math.sin(t * freq * Math.PI * 2) / Math.exp(t * decay);
} else {
  value;
}

Push values 20-50% beyond realistic:

  • Larger scales
  • Wider rotations
  • More dramatic timing

11. Solid Drawing

  • Use 3D layers for depth
  • Apply cameras with perspective
  • Animate Z position
  • Use light and shadow
  • Consider volume in all poses

12. Appeal

Design principles:

  • Clear silhouettes at every pose
  • Smooth curves over sharp angles
  • Consistent character proportions
  • Pleasing timing patterns
  • Clean, readable motion paths

Essential Expressions

// Wiggle
wiggle(frequency, amplitude)

// Loop
loopOut("cycle")

// Time remap
timeRemap = linear(time, 0, duration, 0, 1)

// Bounce
n = 0;
if (numKeys > 0) {
  n = nearestKey(time).index;
  if (key(n).time > time) n--;
}
if (n == 0) t = 0;
else t = time - key(n).time;
amp = 80; freq = 3; decay = 8;
value + amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);

Export Options

  • Lottie: Bodymovin plugin → JSON
  • GIF: Media Encoder
  • Video: H.264, ProRes
  • Sprite Sheet: Scripts > Render Sprite Sheet

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.