Skip to content

Reference guide mapping Disney's 12 animation principles to Lottie (Bodymovin) exports from After Effects.

CCM score
49 of 100
skills.sh installs
708
GitHub stars
709
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers all 12 principles, from squash and stretch through appeal, each with After Effects setup steps and matching runtime code
  • Includes JavaScript snippets for playSegments, setSpeed, setDirection, goToAndStop, and frame event listeners
  • Provides React usage with lottie-react and a hover-driven example built on lottie-interactivity
  • Designed for motion designers and front-end developers who export vector animations from After Effects for web interfaces

Install

$ npx -y skills add dylantarre/animation-principles --skill lottie-bodymovin -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Lottie Animation Principles

Implement all 12 Disney animation principles using Lottie (Bodymovin) for vector animations.

1. Squash and Stretch

In After Effects before export:

  • Animate Scale X and Y inversely
  • Use expression: s = transform.scale[1]; [100 + (100-s), s]
// Control at runtime
lottie.setSpeed(1.5); // affect squash timing

2. Anticipation

Structure your AE composition:

  1. Frames 0-10: Wind-up pose
  2. Frames 10-40: Main action
  3. Frames 40-50: Settle
// Play anticipation segment
anim.playSegments([0, 10], true);
setTimeout(() => anim.playSegments([10, 50], true), 200);

3. Staging

// Layer multiple Lotties
<div className="scene">
  <Lottie animationData={background} style={{ opacity: 0.6 }} />
  <Lottie animationData={hero} style={{ zIndex: 10 }} />
</div>

4. Straight Ahead / Pose to Pose

Pose to pose in AE:

  • Set keyframes at key poses
  • Let AE interpolate between
  • Use Easy Ease for smoothing
// Jump to specific poses
anim.goToAndStop(25, true); // frame 25

5. Follow Through and Overlapping Action

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the lottie-bodymovin skill do?

It teaches Claude to apply Disney's 12 animation principles to Lottie (Bodymovin) vector animations exported from After Effects. It covers both the After Effects setup before export and the runtime controls in code, such as playSegments, setSpeed and goToAndStop.

How do I install the lottie-bodymovin skill?

Run npx -y skills add dylantarre/animation-principles --skill lottie-bodymovin -y in your project. The skill then lets the agent build Lottie animations with squash and stretch, anticipation, timing and other principles.

Which other skills are in the Animation & Motion category?

Other top skills in this category include remotion-render, hyperframes-registry, hyperframes-animation, hyperframes-core and hyperframes-creative. This skill focuses specifically on Lottie exports from After Effects rather than general motion frameworks.

More from dylantarre/animation-principles

All 144

Similar to Lottie Bodymovin

More Animation & Motion