lottie-bodymovin
Qué hace
Esta skill cubre cómo hacer que las animaciones Lottie se vean naturales, usando reglas clásicas de animación. Es para animadores y desarrolladores web que usan exportaciones de After Effects en páginas o apps.
Cuándo usarla
- ✓Cuando tienes una animación Lottie de After Effects que se ve rígida o plana.
- ✓Cuando quieres añadir aplastamiento, anticipación o suavizado a una animación Lottie.
- ✓Cuando quieres controlar la reproducción de una Lottie en una página web.
Link de la skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/lottie-bodymovin/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Mi animación de logo en Lottie se ve rígida. Muéstrame cómo añadir aplastamiento y suavizado en After Effects antes de exportar.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill explica cómo definir keyframes y suavizado en After Effects, cómo usar expresiones para el aplastamiento y cómo controlar la velocidad de reproducción y los segmentos con código.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Necesito After Effects?
Muchos de los pasos se hacen en After Effects antes de exportar.
¿Puedo controlar la animación con código?
Sí. La skill muestra cómo cambiar la velocidad, reproducir segmentos y saltar a fotogramas específicos.
¿Cubre la superposición de varias animaciones?
Sí. Muestra cómo superponer varias animaciones Lottie en una escena para dar profundidad.
Detalles
Descripción original del autor
Use when implementing Disney's 12 animation principles with Lottie animations exported from After Effects
repo: calesthio/OpenMontage
Popularidad
- Estrellas en GitHub
- 75 mil
- Posición en el ranking
- #2669
- Licencia
- AGPL-3.0
- Actualizada
- 28/10/2026
Comentarios
- …
Más skills de este repositorio
3d-asset-generation
75 milAyuda a tu agente a elegir cómo crear objetos 3D para una escena, usando catálogos, herramientas de texto o imagen a 3D, y Blender para el ensamblado final.
acestep
75 milAyuda a tu agente a crear música de fondo, canciones, jingles y stems para un video usando el generador de música abierto ACE-Step.
agents
75 milAyuda a tu agente a construir asistentes de voz con IA usando ElevenLabs, como bots de atención al cliente y personajes de voz interactivos.
ai-video-gen
75 milAyuda a tu agente a generar clips de video con IA a partir de una descripción de texto o una imagen de referencia, eligiendo entre varios servicios.
Skills parecidas
blender-motion-state-inspection
280 milPermite inspeccionar detalles de animaciones 3D. Es útil para revisar poses, movimientos y la alineación de los personajes en las animaciones.
manim-video
280 milPermite a tu agente crear vídeos animados explicativos. Usa Manim para generar gráficos y diagramas claros de conceptos técnicos.
remotion-video-creation
280 milGuía a tu agente para crear vídeos con React usando la biblioteca Remotion. Cubre buenas prácticas para animaciones, audio, subtítulos y otros elementos visuales.