after-effects · dylantarre — скилл для Claude Code: 12 принципов анимации
Помогает агенту собрать анимацию в Adobe After Effects по 12 принципам Disney: от squash and stretch до appeal. Пригодится, когда нужно оживить персонажа или интерфейс.
npx skills add dylantarre/animation-principles --skill after-effects -a claude-codeЧто делает after-effects
Скилл разбирает каждый из 12 принципов анимации Disney и даёт конкретные приёмы для After Effects. Для squash and stretch есть выражение на JavaScript, которое считает масштаб по одной оси и подгоняет вторую так, чтобы объём остался прежним. Для follow through и overlapping action — выражение с задержкой дочернего слоя через valueAtTime. Для отскока и перелёта — готовые формулы с амплитудой, частотой и затуханием.
Тайминг разложен по кадрам: 2-4 кадра читаются как резкий удар, 12-15 — обычный темп, 40 и больше — тяжёлое движение. Отдельная таблица подсказывает, как менять частоту кадров композиции. Есть блок базовых выражений: wiggle, loopOut("cycle"), time remap. В конце — варианты экспорта: Lottie через Bodymovin, GIF через Media Encoder, видео в H.264 и ProRes, спрайт-лист скриптом.
Скилл рассчитан на работу внутри Adobe After Effects, поэтому выражения и настройки вроде Graph Editor или Onion Skin нужно применять в самой программе. Агент подскажет структуру и код, но собрать сцену и выставить ключи придётся вам.
Какие задачи решает
- собрать squash and stretch без ручной подгонки масштаба
- разложить сцену по кадрам для ветра-замаха и основной фазы
- добавить задержку дочерним слоям для overlapping action
- настроить кривые в Graph Editor под нужный темп
- выбрать формат экспорта: Lottie, GIF или видео
Примеры запросов агенту
- Помоги настроить squash and stretch для прыгающего мяча в After Effects
- Разложи анимацию персонажа по кадрам: замах, действие, затухание
- Дай выражение для отскока с затуханием на позицию слоя
Как установить after-effects
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill after-effects -a claude-code2Вручную: положить файлы
~/.claude/skills/after-effects/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/after-effects/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill after-effects -a codex2Вручную: положить файлы
.agents/skills/after-effects/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill after-effects -a cursor2Вручную: положить файлы
.cursor/skills/after-effects/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles after-effects2Вручную: положить файлы
.github/skills/after-effects/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill after-effects -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/09-by-tool-framework/after-effectsВручную: положить файлы
.devin/skills/after-effects/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill after-effects -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о after-effects
Как установить after-effects в Claude?
Выполните npx skills add dylantarre/animation-principles --skill after-effects -a claude-code. Файл скилла окажется в ~/.claude/skills/after-effects/SKILL.md.
Что делает after-effects?
Разбирает 12 принципов анимации Disney и даёт приёмы для After Effects: выражения, тайминги по кадрам, работу с Graph Editor и варианты экспорта.
Нужен ли After Effects для работы скилла?
Да. Выражения и настройки вроде Graph Editor или Onion Skin применяются в самой программе, агент только подсказывает структуру и код.
Исходный текст
SKILL.md · MIT
---
name: after-effects
description: Use when implementing Disney's 12 animation principles in Adobe After Effects
---
# After Effects Animation Principles
Implement all 12 Disney animation principles using After Effects' powerful animation tools.
## 1. Squash and Stretch
```javascript
// 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
```javascript
// 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
```javascript
// 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
| Frames | Feel |
|--------|------|
| 2-4 | Snappy, instant |
| 6-8 | Quick, energetic |
| 12-15 | Normal pace |
| 20-30 | Slow, heavy |
| 40+ | Dramatic, weighted |
Adjust composition frame rate for overall feel (24fps cinematic, 30fps smooth).
## 10. Exaggeration
```javascript
// 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
```javascript
// 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
© dylantarre · MIT · dylantarre/animation-principles
Похожие скиллы
Всё по теме «Дизайн» →Сначала — after-effects от других авторов.