lottie-bodymovin
하는 일
이 스킬은 고전 애니메이션 규칙을 사용해 Lottie 애니메이션을 자연스럽게 만드는 방법을 다룹니다. 웹 페이지나 앱에 After Effects 내보내기 파일을 쓰는 애니메이터와 웹 개발자를 위한 스킬입니다.
사용하는 경우
- ✓After Effects에서 만든 Lottie 애니메이션이 뻣뻣하거나 평면적으로 느껴질 때.
- ✓Lottie 애니메이션에 찌그러짐, 예상 동작, 이징을 더하고 싶을 때.
- ✓웹 페이지에서 Lottie 재생을 제어하고 싶을 때.
스킬 링크
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/lottie-bodymovin/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Lottie 로고 애니메이션이 뻣뻣해 보입니다. 내보내기 전에 After Effects에서 찌그러짐과 이징을 추가하는 방법을 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 After Effects에서 키프레임과 이징을 설정하는 방법, 익스프레션으로 찌그러짐을 만드는 방법, 코드로 재생 속도와 구간을 제어하는 방법을 설명합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
After Effects가 필요한가요?
많은 단계가 내보내기 전에 After Effects에서 진행됩니다.
코드로 애니메이션을 제어할 수 있나요?
네. 속도를 바꾸고, 구간을 재생하고, 특정 프레임으로 이동하는 방법을 보여 줍니다.
여러 애니메이션을 겹치는 것도 다루나요?
네. 깊이감을 위해 한 장면에 Lottie 애니메이션 여러 개를 겹치는 방법을 보여 줍니다.
상세 정보
작성자의 원본 설명
Use when implementing Disney's 12 animation principles with Lottie animations exported from After Effects
repo: calesthio/OpenMontage
인기도
- GitHub 스타
- 75k
- 순위
- #2669
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
3d-asset-generation
75k카탈로그, 텍스트·이미지 3D 변환 도구, Blender를 활용해 장면에 쓸 3D 오브젝트를 만드는 방법을 고르도록 돕습니다.
acestep
75k오픈소스 ACE-Step 음악 생성기를 사용해 영상에 쓸 배경 음악, 노래, 징글, 스템을 만들도록 돕습니다.
agents
75kElevenLabs로 고객 응대 봇이나 대화형 음성 캐릭터 같은 음성 AI 에이전트를 만들도록 돕습니다.
ai-video-gen
75k텍스트 설명이나 참고 이미지로 AI 영상 클립을 만들며, 여러 영상 생성 서비스 중에서 고르도록 돕습니다.
비슷한 스킬
blender-motion-state-inspection
280k3D 애니메이션의 포즈, 움직임, 캐릭터 정렬 같은 세부 사항을 점검하도록 돕습니다.
manim-video
280k애니메이션 설명 영상을 에이전트가 만들도록 돕습니다. Manim을 사용해 기술 개념을 설명하는 명확한 그래프와 도표를 만듭니다.
remotion-video-creation
280kReact와 Remotion 라이브러리로 영상을 만드는 과정을 에이전트에게 안내합니다. 애니메이션, 오디오, 자막 등 시각 요소의 모범 사례를 다룹니다.