Skip to content
Back to skills

Polish Video Motion

ASecurity

Use when a rendered film or animation feels off, stiff, floaty, rushed, cheap or generated, or when asked to polish its motion, easing, timing, cursor, holds or transitions. Runs three measured rounds (weight and easing, cursor and clicks, holds and hand-offs) on stills, contact sheets and frame strips, with a REVIEW.md that lists each change as was → now with its second. Not for writing the film from scratch (build-hyperframes-video).

  • 145 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgobashspring

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Heyvhuang/copybook-skills --skill polish-video-motion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Polish Video Motion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Polish Video Motion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/heyvhuang-polish-video-motion/badge)](https://www.skillsdirectory.com/skills/heyvhuang-polish-video-motion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: polish-video-motion
description: "Use when a rendered film or animation feels off, stiff, floaty, rushed, cheap or generated, or when asked to polish its motion, easing, timing, cursor, holds or transitions. Runs three measured rounds (weight and easing, cursor and clicks, holds and hand-offs) on stills, contact sheets and frame strips, with a REVIEW.md that lists each change as was → now with its second. Not for writing the film from scratch (build-hyperframes-video)."
license: Apache-2.0 (see LICENSE and CHANGES.md)
---

# Polish motion and timing

You wrote the timeline, so you know what happens; the viewer sees it once, at full speed, often on a phone. Polish is seeing it as they will, and changing numbers you have measured. Start from a film that already passes `npx hyperframes check --json` with 0 errors.

## Every round delivers

1. A draft render: `npx hyperframes render --quality draft -o renders/rN.mp4`.
2. A one-frame-a-second contact sheet: `bash scripts/sheet.sh renders/rN.mp4 review/rN-sheet.png`.
3. If there is a reference film, the same beats side by side, reference left: `bash scripts/cmp-ref.sh renders/rN.mp4 ref.mp4 beats.txt review/rN-cmp.png` (`beats.txt`: one `our_s ref_s` pair a line, 12 to 14 pairs, frozen after round one).
4. Frame strips at 10 to 30 fps around each action: `bash scripts/strip.sh renders/rN.mp4 3.8 4.6 20 review/rN-click.png`. Exact instants on lossless frames: `npx hyperframes snapshot --at 3.9,4.1`.
5. `REVIEW.md`: one line per change, `t=4.2s · where · was → now`, and what this round left for a later one.

One kind of problem per round, in this order. Note the others and leave them for their round. Keep the best render of the last round; merge into it only what got better.

## Round 1: weight and easing

- Write one sentence per action: who moves, what it wants, how hard, where it lands, how it feels ("Send pushes the line into the queue, firm and a little urgent"). No sentence, no curve will save it.
- A forceful move runs prepare → anticipate (a little the other way) → drive → impact → brake → settle. Overshoot, stretch and blur live only near drive and impact.
- Layer by importance: the product action moves first, then the camera, then type, then secondary UI, 2 to 6 frames later (70 to 200 ms at 30 fps), and stops a little later too. Decoration never leads.
- Ease by role: arrivals land on a long tail (settle `cubic-bezier(0.22, 1, 0.36, 1)`, or `expo.out`); camera pushes ease both ways (`cubic-bezier(0.7, 0, 0.2, 1)` over 0.6 to 0.7 s); exits accelerate and are 40 to 50% shorter than their entrances. One `power2.out` at 0.5 s on everything is the flat default that reads as generated.
- Springs by damping ratio ζ: 1.0 never bounces, 0.7 to 0.85 reads premium, 0.4 to 0.6 playful. Position and scale may bounce; opacity and colour never do. Starting values: controls ω 18 ζ 0.75; cards and camera ω 12 ζ 0.9; big type and logos ω 7 ζ 1; a landing mark ζ 0.75 to 0.78.
- Keep springs as pure functions of time, so any frame renders on its own:

```js
const springEase = (z, w, dur) => { const f = t => { if (z >= 1) return 1 - (1 + w * t) * Math.exp(-w * t); const wd = w * Math.sqrt(1 - z * z); return 1 - Math.exp(-z * w * t) * (Math.cos(wd * t) + (z * w / wd) * Math.sin(wd * t)); }; const end = f(dur); return p => (p >= 1 ? 1 : f(p * dur) / end); };
```

- Convert library springs: `bounce b, duration d` → ζ = 1 − b, ω = 2π / d; `stiffness k, damping c, mass m` → ω = √(k/m), ζ = c / (2√(km)).
- Overlap: the next element starts when the last is 30 to 50% done; staggers are letters a frame apart, words 60 to 120 ms, list items 40 to 80 ms. Shots hand over with 6 to 12 frames of overlap: the outgoing shot carries the speed, the incoming one the landing.

## Round 2: cursor and clicks

- The cursor's position is a function of t only, driven by one proxy tween: `tl.to(state, { t: END, duration: END, ease: "none", onUpdate: draw }, 0)` over segments `{ t, d, to, arc }`.
- A move speeds up and slows down, `cubic-bezier(0.45, 0, 0.25, 1.1)`, overshoots about 3%, and travels an arc 6 to 14% of its length high. The cursor is big: 4 to 7% of the frame.
- A click comes 50 to 100 ms after the cursor settles: 70 ms down to scale 0.86, back on a spring ζ 0.5 ω 22 over 0.35 s; the thing clicked answers (large blocks 0.97 to 0.985, small buttons 0.9) and its result starts on the same frame.
- A drag holds 0.86 the whole way, and the dragged thing shares the cursor's curve and clock. On release it slides 20 to 30 px with about 3% inertia.
- The cursor never parks on text that just appeared, on the button it is about to press, or on the line being typed: it parks beside them.
- Measure the rendered trail, never the code: render once with the cursor tinted `#00ff00` and read each frame's green pixels for its stops and coordinates.

## Round 3: holds and hand-offs

- A line holds 0.5 s plus 0.3 s a word; a result 1.0 to 1.35 s; the story's landing at least 1.3 s; the finished end mark at least 1.2 s. A pushed-in cover holds 0.3 s before the next page.
- Anything held over about 2.5 s that is not a playing video drags; something new every 2 to 4 s.
- Every hand-off carries one object into the next scene, caused by something on screen (a click, a drag); never a crossfade between worlds. Use 3 to 5 kinds of transition in a film, at most a third of them hard cuts.
- Adding holds shifts every later time: run t through a `warp(t)` that inserts freezes at settled moments instead of editing every constant.
- A landed title is dead still. Typing in a hero film is even, 44 ms a character, each character rising 6 px out of a 4 px blur in 0.2 s; the words typed are the next scene's title.

## Checks that prove it

- Three rounds, each with its render, contact sheet, strips, comparison and `REVIEW.md` lines.
- Phone: scale the beat frames to 390 px wide and read them at 1:1; every line that carries a beat is still readable (34 px or more in a 1080 master).
- The end: read the last frames one by one at 10 fps; no frame shows a partial mark. Prove the end hold with `bash scripts/hold.sh <film> <seconds>` (every frame in that window within 45 dB of the last), not freezedetect: a wipe still settling by a few pixels passed freezedetect at 2.0 s and failed the probe by 0.05 s, so give the end 0.1 s more than its rule.
- Centring: measure ink on lossless snapshots, not on the encoded MP4; each key line's ink centre within 1 px of the frame centre.
- One independent review after round 3: a fresh agent sees only `SPEC.md`, the contact sheet and the end strip and writes P0/P1 lines; check each claim on frames before acting, and write which you took and why you left the rest.

## Pitfalls we hit

- A camera push on a settle curve arrived in 3 to 4 frames, then crept → in-out curve over 0.6 to 0.7 s.
- Pages rose without weight → position on a spring ζ 0.8, opacity on its own curve, 60 ms stagger.
- Cards flew on one clock → stagger 0 / 40 / 80 ms.
- Four cards flew separately into a panel → the whole strip shrinks into its grid in one move.
- The logo filled in 2 frames → a 0.7 s spring with about 3% overshoot.
- The cursor started at full speed in a straight line → ease in and out, arc, 3% overshoot.
- A segment bug made the cursor arrive early and the code looked fine → measure the rendered trail every round.
- It clicked while still moving → click after it settles.
- A pushed-in cover flipped after 0.05 s → hold 0.3 s.
- The end mark held 1.1 s → 1.7 to 1.8 s.
- Fades on the end card left grey in-between frames → wipes and instant swaps, no opacity on the mark.
- A cursor turning into the logo ghosted with both shapes on one frame → last pressed frame plain, next frame the logo.
- Spotlights and dimming to point at text looked cheap → keep the text still and complete; move only what really moves.
- A screenshot looked off-centre but measured fine the other way → measure before you move anything.
- Review rounds that never end → three rounds plus one independent pass; a reviewer can contradict itself, so its notes are input, not orders.

See [example.md](example.md) for three rounds on one film.

Based on heygen-com/hyperframes (Apache-2.0), rewritten by Copybook.

Files in this skill

  • CHANGES.md1.5 KB
  • LICENSE10.5 KB
  • SKILL.md8.1 KB
  • example.md3.4 KB
  • scripts/cmp-ref.sh1 KB
  • scripts/hold.sh1.4 KB
  • scripts/sheet.sh652 B
  • scripts/strip.sh637 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.