Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

motion-principles

БесплатноБез исполняемых скриптовНе проверен

Choose timing, easing, stagger, anticipation, and follow-through for a NodeTool timeline. Use when motion feels stiff, floaty, busy, or late, or when an…

nodetool-aiот nodetool-ai★ 674 звезды на GitHub

Об этом скилле

Motion Principles → the numbers before the call

timeline-edit-ops is how to write an animation onto a clip with edit_timeline. This is how to decide what to write. Every number here is in the units animate_clip takes: milliseconds, a normalized 0..1 distance, an easing string.

The same numbers, written as code

Building with @nodetool-ai/sandbox-timeline instead (motion-graphics picks the surface)? Every number below still applies — only the unit changes. durationMs becomes dur in seconds (divide by 1000: 400ms is dur: 0.4). A normalized 0..1 distance becomes actual px, against the frame's own width/height (0.3 on a 1920-wide frame is offsetX: 576 in from). Easing strings are identical — ease: "outExpo" or a raw curve — and every role still means the same thing: el.enter() is in, el.exit() is out, el.animate() covers emphasis and general keyframing, el.loop() is loop. el.count(), el.draw(), el.scramble(), el.typewriter(), el.expr() and el.morph() have no ops equivalent below; they are shortcuts for a ticker, a trimEnd draw-on, a scramble reveal, a whole-clip typewriter entrance, a hand-written keyframe function, and a path outline morph.

Settle three things before picking a number

Pillar The question What it decides
Emotional intent What should the viewer feel? Easing, duration, overshoot
Visual narrative Setup, action, resolution — what enters when? Sequencing, delayMs, stagger
Motion craft Why does it look believable? Anticipation, follow-through, arcs

A number chosen before the intent is a number you will change twice.

Three layers, or the frame reads flat

Plan three levels of attention. Track index controls their z-order, while timing decides which one the eye follows:

  • Primary — the one move the eye follows. The clip the shot is about.
  • Secondary — supporting motion reacting to the primary: a scrim settling late, a label arriving 80ms after the plate.
  • Ambient — background life that never asks for attention. A loop preset at low amplitude on the bed.

motion-direction ranks the same three as Hero / Support / Texture and decides which elements earn each. Two clips carrying primary motion at once is the most common cause of a busy frame.

Easing is the biggest lever

linear reads as robotic. Keep it for motion that never lands: the loop presets float, rotate and hueShift, and the shake emphasis, whose zig-zag is linear by default. Everything the eye reads as an event decelerates into rest.

Action Easing Why
Entrance (in) easeOut, or cubic-bezier(0.16,1,0.3,1) for a sharper landing Arrives with energy, settles
Exit (out) easeIn, or cubic-bezier(0.7,0,0.84,0) Accelerates away
A move that stays on screen easeInOut, or cubic-bezier(0.65,0,0.35,1) Symmetric, no false weight
Playful landing easeOutBack, or cubic-bezier(0.34,1.56,0.64,1) The value past 1 is the overshoot
Physical settle spring(180,12,1) one overshoot, spring(180,26,1) none Solves a real spring; all three constants positive
Held pose, then jump hold on the ending keyframe's segment Keeps the prior value until the segment ends

The role defaults already do the right thing: in gets easeOut, out gets easeIn. Leave easing unset unless you want something the default is not. A string the parser cannot read eases linearly and reports unknown_easing — easeOut, never ease-out.

Overshoot reads as toy-like. Keep easeOutBack, easeOutElastic and easeOutBounce off anything financial, medical or corporate.

Duration carries weight

Element durationMs
Micro beat: a flash, a pulse on a small element 150–250
Title, lower third, overlay entrance 300–500
Hero element, full-frame plate, a blur rack 500–800
Camera move: a slow push or drift 1500–4000

Distance and area scale it. A caption travelling distance: 0.05 and a full-bleed plate travelling 0.5 must not share 400ms — the plate looks weightless. Add roughly 30–50% when the travel or the area doubles.

Two limits the engine enforces rather than warns about in prose:

  • in + out must fit the clip with hold left over. Over-long windows report animation_exceeds_clip.
  • A loop cycle longer than the clip shows a fragment. kenBurns is the exception: it ignores durationMs and always spans the whole clip, so the clip's length is its duration. Give a Ken Burns move a clip in the camera-move range above.

Holds

These are the hold values every other motion skill defers to:

  • Read hold. Anything meant to be read — a title, a lower third, an end card, a logo — rests at least 1000ms between its in settling and its out starting, or before the cut. A 3000ms title with 500ms each way holds 2000ms. Under 1000ms the element never settles and reads as a glitch.
Полный SKILL.md на GitHub

Установить motion-principles в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

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

Choose timing, easing, stagger, anticipation, and follow-through for a NodeTool timeline. Use when motion feels stiff, floaty, busy, or late, or when an entrance, transition, or beat-bound animation needs a duration and curve. The op contract lives in timeline-edit-ops; the build loop is motion-graphics.

Как установить скилл motion-principles?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл motion-principles запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить motion-principles с