lottie-bodymovin
What it does
This skill covers making Lottie animations feel natural, using classic animation rules. It is for animators and web developers who use After Effects exports in web pages or apps.
When to use it
- ✓When you have a Lottie animation from After Effects that feels stiff or flat.
- ✓When you want to add squash, anticipation, or easing to a Lottie animation.
- ✓When you want to control playback of a Lottie in a web page.
Skill link
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/lottie-bodymovin/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My Lottie logo animation looks stiff. Show me how to add squash and easing in After Effects before export.”
5 new skills a week. 1 minute to read.
How it works
The skill explains how to set keyframes and easing in After Effects, how to use expressions for squash, and how to control playback speed and segments in code.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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:
- Frames 0-10: Wind-up pose
- Frames 10-40: Main action
- 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
In After Effects:
- Offset child layer keyframes by 2-4 frames
- Use parenting with delayed expressions
thisComp.layer("Parent").transform.position.valueAtTime(time - 0.05)
6. Slow In and Slow Out
AE Keyframe settings:
- Select keyframes > Easy Ease (F9)
- Use Graph Editor to adjust curves
- Bezier handles control acceleration
// Adjust playback speed dynamically
anim.setSpeed(0.5); // slower
anim.setSpeed(2); // faster
7. Arc
In After Effects:
- Use motion paths (position property)
- Convert keyframes to Bezier
- Pull handles to create arcs
- Or use "Auto-Orient to Path"
8. Secondary Action
// Trigger secondary animation
mainAnim.addEventListener('complete', () => {
secondaryAnim.play();
});
// Or sync with frame
mainAnim.addEventListener('enterFrame', (e) => {
if (e.currentTime > 15) particleAnim.play();
});
9. Timing
anim.setSpeed(0.5); // half speed - dramatic
anim.setSpeed(1); // normal
anim.setSpeed(2); // double speed - snappy
// Or control frame rate in AE export
// 24fps = cinematic, 30fps = smooth, 60fps = fluid
10. Exaggeration
In After Effects:
- Push scale beyond 100% (120-150%)
- Overshoot rotation
- Use Overshoot expression
amp = 15; freq = 3; decay = 5; n = 0; time_start = key(1).time; if (time > time_start) { n = (time - time_start) / thisComp.frameDuration; amp * Math.sin(freq*n) / Math.exp(decay*n/100); } else { 0; }
11. Solid Drawing
In After Effects:
- Use 3D layers
- Apply perspective camera
- Animate Z position and rotation
- Use depth of field
12. Appeal
Design principles in AE:
- Smooth curves over sharp angles
- Consistent timing patterns
- Pleasing color palette
- Clean vector shapes
// React Lottie with hover
<Lottie
animationData={data}
onMouseEnter={() => anim.setDirection(1)}
onMouseLeave={() => anim.setDirection(-1)}
/>
Lottie Implementation
import Lottie from 'lottie-react';
import animationData from './animation.json';
<Lottie
animationData={animationData}
loop={true}
autoplay={true}
style={{ width: 200, height: 200 }}
/>
Key Lottie Features
playSegments([start, end])- Play frame rangesetSpeed(n)- Control timingsetDirection(1/-1)- Forward/reversegoToAndStop(frame)- Pose controladdEventListener- Frame events- Interactivity via
lottie-interactivity
FAQ
Do I need After Effects?
Many of the steps are done in After Effects before export.
Can I control the animation in code?
Yes. The skill shows how to change speed, play segments, and jump to specific frames.
Does it cover layering several animations?
Yes. It shows how to layer several Lottie animations in one scene for depth.
Details
Original description by the author
Use when implementing Disney's 12 animation principles with Lottie animations exported from After Effects
repo: calesthio/OpenMontage
Popularity
- GitHub stars
- 75k
- Ranking position
- #2669
- License
- AGPL-3.0
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
3d-asset-generation
75kHelps your agent choose how to create 3D objects for a scene, using catalogs, text or image to 3D tools, and Blender for final assembly.
acestep
75kHelps your agent create background music, songs, jingles, and stems for a video using the open ACE-Step music generator.
agents
75kHelps your agent build voice AI assistants with ElevenLabs, such as customer service bots and interactive voice characters.
ai-video-gen
75kHelps your agent generate AI video clips from a text description or a reference image, choosing from several video generation services.
Similar skills
blender-motion-state-inspection
280kAllows inspection of details in 3D animations. It's useful for checking poses, movements, and character alignment in animations.
manim-video
280kLets your agent create animated explainer videos. It uses Manim to generate clear graphs and diagrams for technical concepts.
remotion-video-creation
280kGuides your agent in creating videos using React with the Remotion library. It covers best practices for animations, audio, captions, and other visual elements.