К основному содержанию
скилл CX Codex

animation-principles · iart-ai — скилл для Claude Code: суть и установка

Скилл задаёт физику и тайминги интерфейсной анимации. Он выдаёт точные кривые cubic-bezier, задержки шагов и длительности в миллисекундах.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add iart-ai/motion-design-skills --skill animation-principles -a claude-code
Открыть на GitHub

Что делает animation-principles

Скилл устраняет механическую неестественность в движении элементов. Он независим от используемого фреймворка. Агент выдаёт конкретные числа: длительности в миллисекундах, кривые cubic-bezier, задержки ступенчатого появления и параметры пружин.

Внутри заложена структура трёх слоёв: основное действие, вторичный отклик деталей и фоновая текстура. Для типовых переходов скилл предлагает готовые коэффициенты ускорения. К примеру, для появления задаётся cubic-bezier(0.16, 1, 0.3, 1), а для ухода со сцены — cubic-bezier(0.7, 0, 0.84, 0). Микровзаимодействия рассчитываются на 100–200 мс, тогда как переход экрана требует 200–400 мс. Стандартный Easy Ease в After Effects даёт лишь симметричный старт в 33%, поэтому скилл переводит график скорости на асимметрию с влиянием торможения до 80–90%.

Для каскадного раскрытия списков шаг составляет 40–80 мс. Всё появление обязано уложиться в 600–800 мс, иначе хвост списка визуально зависает. Если одновременно движется более трети объектов экрана, скилл требует остановить часть из них, чтобы не создавать визуальный хаос.

Какие задачи решает

  • подобрать параметры кривых cubic-bezier для плавного появления и скрытия элементов
  • рассчитать тайминги и задержки для каскадной анимации списков и сеток
  • устранить механическую резкость переходов с помощью антиципации и инерции
  • синхронизировать ключевые кадры анимации с музыкальным битом по сетке темпа

Примеры запросов агенту

  • Подбери кривую easing и длительность для появления модального окна
  • Анимация карточек в списке выглядит неестественно и дёшево, как настроить stagger?
  • Сделай анимацию кнопки более упругой и добавь лёгкий овершут

Как установить animation-principles

1Через Skills CLI (Vercel)

npx skills add iart-ai/motion-design-skills --skill animation-principles -a claude-code

2Вручную: положить файлы

~/.claude/skills/animation-principles/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/animation-principles/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора9

motion-art-direction Скилл задаёт правила движения до первой отрисованной сцены: одна кривая, один тайминг, один набор переходов на весь ролик. CX Codex +1 3 300установок shot-composition Скилл планирует композицию кадра: сетку, фокусную точку, слои глубины и движения камеры. Пригодится, когда нужно разложить сцену по слоям и адаптировать её под 16:9, 9:16 и 1:1. CX Codex +1 2 900установок logo-animation Скилл для ИИ-кодинга, который собирает анимацию логотипа: интро, сплэш, лоадер, отрисовку SVG-знака. Работает в вебе, видео и мобильных приложениях. CX Codex +1 2 800установок color-motion Скилл помогает подбирать палитры для моушн-дизайна, строить градиенты в пространстве OKLCH и устранять выцветание рендеров After Effects из-за сдвига гаммы. CX Codex +1 2 800установок beat-sync-editing Планирует точки склеек по BPM, выстраивает темп сцены и описывает переходы или ускорения для монтажной шкалы. CX Codex +1 2 900установок after-effects Помогает с выражениями, экспортом, тормозами и порядком в проектах Adobe After Effects. Пригодится, когда нужен готовый рецепт или .jsx-автоматизация. CX Codex +1 2 800установок motion-background Скилл учит агента создавать ненавязчивые анимированные фоны: лёгкие градиенты на CSS и частицы на холсте. Помогает оживить интерфейс без потери читаемости текста. CX Codex +1 2 700установок remotion-video Скилл для сборки MP4, GIF и WebM прямо в React: каждый кадр — чистая функция от useCurrentFrame, поэтому рендер детерминированный и повторяемый. CX Codex +1 2 600установок

Другие версии animation-principles

Похожие

timing-calibration dylantarre Скилл разбирает жалобы «слишком быстро» и «слишком медленно» и подбирает длительности и easing по типу действия. CX Codex +1 497установок Animation Principles - Troubleshooting dylantarre Скилл разбирает, почему анимация выглядит неправильно, и подсказывает, какой принцип нарушен. Пригодится, когда движение «не читается», но причина неясна. CX Codex +1 490установок 12-principles-of-animation raphael-salaja Находит ошибки в веб-анимациях по двенадцати принципам движения. Выводит список замечаний с номерами строк и сводную таблицу нарушений. CX Codex +1 2 200установок motion-principles AThevon Скилл задаёт правила интерфейсной анимации: безопасные свойства, тайминги, кривые разгона и режим reduced-motion для веба, SwiftUI и Jetpack Compose. CX Codex +1 1 100установок animation-designer daffy0208 Скилл для веб-анимаций: переходы страниц, появление компонентов, параллакс и микро-взаимодействия на Framer Motion и CSS. CX Codex +1 1 900установок animation-vocabulary emilkowalski Скилл подбирает точный термин для описанной веб-анимации. Пригодится, когда эффект нужно понятно назвать для промпта или дизайнера. CX Codex +1 239 000установок

Рядом в теме «Дизайн»

Всё по теме «Дизайн» →

Вопросы о animation-principles

Как установить animation-principles в Claude Code?

Выполните в терминале команду npx skills add iart-ai/motion-design-skills --skill animation-principles -a claude-code.

Что делает скилл animation-principles?

Скилл рассчитывает физику и длительности анимаций независимо от используемой кодовой базы. Он предлагает конкретные кривые разгона, тайминги в миллисекундах, правила наложения слоёв и задержки для списков.

Чем отличаются пружинные анимации от переходов по длительности?

Пружины рассчитываются через массу, жёсткость и демпфирование, поэтому они подходят для прерываемых жестов и прямого взаимодействия. Переходы с фиксированной длительностью и кривыми easing применяются для строгих таймлайнов и видеоряда, где важна точная синхронизация.

Исходный текст

SKILL.md · MIT
---
name: animation-principles
description: This skill should be used when the user asks to "make this animation feel natural", "fix motion that feels stiff/floaty/cheap", "my animation looks robotic", "choose an easing curve", "how do I use the Graph Editor", "add overshoot or bounce", "Easy Ease isn't enough", "make snappy motion", "pick a duration for this transition", "stagger a list animation", "sync animation to a beat", or "review motion for good timing". It is the tech-agnostic foundation for deciding how something should move.
version: 0.1.0
---

# Motion Principles

Decide how something should move so it feels right — independent of the tool used to build it. This skill answers timing, easing, spacing, weight, and rhythm. It does not pick a tech stack; it produces concrete numbers (durations, cubic-bezier curves, stagger offsets, spring configs) ready to hand to any implementation.

## When to use

- Motion feels stiff, floaty, mechanical, robotic, or cheap and needs diagnosis.
- Choosing a clip or transition's duration, easing curve, and stagger offset.
- Reviewing whether motion respects physics intuition (weight, follow-through, arcs).
- Synchronizing keyframes to a musical beat or edit accent.

## Three pillars — settle these before any number

Every piece of motion should answer three questions *before* you pick a duration or curve. Skip them and you get technically-correct motion that feels like nothing. These are the shared vocabulary the rest of the collection refers back to.

| Pillar | The question | What it drives |
|---|---|---|
| **Emotional intent** | What should the viewer *feel*? (joy, calm, urgency, trust, elegance) | Easing, duration, amplitude/overshoot |
| **Visual narrative** | What's the micro-story? Setup → action → resolution | Sequencing, staging, what enters when |
| **Motion craft** | How do we make it believable? | Physics, secondary motion, arcs, follow-through |

## Three motion layers — depth, not flatness

Flat motion = only the main thing moves. Believable motion runs three layers at once:

- **Primary** — the main action the eye follows (the hero move).
- **Secondary** — supporting richness reacting to the primary (a shadow shifting, an icon nudging, a label settling late).
- **Ambient** — background life that never demands attention (slow gradient drift, a low-contrast pulse).

> The judgment layer (`motion-art-direction`) calls these **Hero / Support / Texture** — same three layers, ranked for *what earns motion*. Primary≈Hero, Secondary≈Support, Ambient≈Texture.

## Core principles

### Easing is the single biggest lever

Linear motion reads as robotic. Reserve `linear` for continuous loops (spinners, marquees, infinite scroll) only. Everything an eye perceives as a discrete event needs acceleration.

Match the curve to the action:
- **Enter / appear** -> ease-out (fast start, gentle settle). Object arrives with energy and decelerates into place. `cubic-bezier(0.16, 1, 0.3, 1)`.
- **Exit / disappear** -> ease-in (gentle start, fast end). Object accelerates away. `cubic-bezier(0.7, 0, 0.84, 0)`.
- **Move / reposition (stays on screen)** -> ease-in-out (symmetric). `cubic-bezier(0.65, 0, 0.35, 1)`.
- **Playful / branded** -> slight overshoot. `cubic-bezier(0.34, 1.56, 0.64, 1)` (the `1.56` pushes past 1.0, creating an overshoot-and-settle that reads as "weight").

Rule of thumb: the eye forgives a slow start far less than a slow end. When in doubt, decelerate into rest.

**Hand-shaping easing (After Effects).** When keyframing by hand rather than supplying a curve, the same principles map to the Graph Editor: shape the Speed Graph so the ends flatten toward zero, and push deceleration influence to 80–90% for a snappy launch and smooth settle. `F9` (Easy Ease) is only a 33% symmetric starting point — make it asymmetric. See `references/easing-graph-editor.md` for Graph Editor reading, handle/influence techniques, and step-by-step overshoot, anticipation, and bounce recipes (including a decaying-bounce expression).

### Timing communicates weight and importance

| Element | Duration |
|---|---|
| Micro-interaction (hover, toggle, tap feedback) | 100-200ms |
| UI transition (panel, modal, page region) | 200-400ms |
| Hero / large element / full-screen | 400-800ms |
| Cinematic camera move | 800-2000ms |

Distance and size scale duration. A small icon moving 20px and a full-bleed panel moving 800px should NOT share a duration — the panel needs more time or it looks weightless. A practical scaling: keep perceived velocity roughly constant by adding ~30-50% duration when distance or area roughly doubles. Heavy objects start slowly and overshoot less; light objects snap and may bounce.

### Spacing and stagger create rhythm

Never reveal a list, grid, or group all at once — it reads as a single flat event. Stagger each child's start.

- Lists / sequential items: **40-80ms** between items.
- Dense grids: **20-40ms** (more items, less per-item delay, or the tail drags).
- Cap total reveal at roughly **600-800ms** for a group; if `count * offset` exceeds that, shrink the offset or switch to a distance-based stagger (items further from an origin point start later).
- Stagger direction should follow the eye: top-to-bottom, or radiating from a focal point.

**The 1/3 Rule (two forms, both universal):**
- *Distance* — no element travels more than ~1/3 of the screen without an intermediate keyframe or a scale/opacity change. Long unbroken slides read as "the template moved," not "something happened."
- *Simultaneity* — with 3+ elements, keep no more than ~1/3 in active motion at once. The rest hold or move as ambient. Everything moving together = noise with no focal point.

### Anticipation and follow-through sell physical motion

- **Anticipation**: a tiny counter-move before the main action (a button dips `scale 0.95` before popping, a character crouches before jumping). 60-120ms is enough.
- **Follow-through / overlapping action**: trailing parts keep moving after the main body stops (a hero card lands, then its shadow and label settle 40-80ms later). Stagger the settle of attached elements rather than stopping everything on the same frame.
- **Arcs**: natural movement curves; pure straight-line translation of an organic object looks mechanical. Add a slight arc to x/y or animate a path.

### Beat-sync and rhythm

When motion accompanies audio, land impact keyframes (a hit, a cut, a reveal) on the beat, not between beats. At 120 BPM a beat is 500ms; an eighth-note grid is 250ms. Quantize key moments to that grid. For edits without music, establish a visual pulse (e.g. one major event per ~500-800ms) so the piece breathes consistently.

### Spring vs. duration-based motion

Springs (mass / stiffness / damping) self-determine duration and feel more physical for interactive, interruptible motion (drag-release, gestures). Duration+easing is better for choreographed, timeline-locked sequences (video, scroll-tied reveals) where exact sync matters. A snappy default spring: `stiffness 300, damping 30, mass 1`. See `references/easing-curves.md` for a full spring table.

## Diagnosing common failures

- **Feels stiff/robotic** -> using `linear` or symmetric easing on an enter; switch to ease-out.
- **Feels floaty/sluggish** -> duration too long or ease-out too gentle; cut duration 30%, sharpen the curve.
- **Feels cheap/janky** -> everything appears at once (no stagger), or all elements share one duration regardless of size.
- **Feels mechanical despite easing** -> no anticipation, no follow-through, straight-line paths; add arcs and overlap.

## Quick reference

| Need | Use |
|---|---|
| Enter | `cubic-bezier(0.16, 1, 0.3, 1)`, 300-500ms |
| Exit | `cubic-bezier(0.7, 0, 0.84, 0)`, 200-300ms |
| Move | `cubic-bezier(0.65, 0, 0.35, 1)`, 300-400ms |
| Branded pop | `cubic-bezier(0.34, 1.56, 0.64, 1)`, 400-600ms |
| List stagger | 40-80ms per item, cap ~700ms total |
| Loop only | `linear` |

## Reference files

- `references/easing-curves.md` — named cubic-bezier library with exact values, spring configs (Framer/react-spring/iOS), and per-element-type duration guidance.
- `references/easing-graph-editor.md` — After Effects Graph Editor craft: speed graph vs value graph, easing handles and influence/velocity numbers, and step-by-step snappy, overshoot, anticipation, and bounce recipes.
- `references/twelve-principles.md` — all 12 Disney principles, each with a concrete, numeric motion-graphics example.

© iart-ai · MIT · iart-ai/motion-design-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой