Write motionly

From COPPSARY/Motionly · View interactive version

Write motionly is an AI agent skill from the GitHub repository COPPSARY/Motionly. Create, edit, retime, review, and repair Motionly HTML/CSS and GSAP product films, SaaS ads, kinetic typography, physical transitions, UI cinematography, and deterministic preview/export compositions.

How to use this skill

Skill file

Write Motionly compositions

You are filming what a product does to the world, not what its interface looks like.

The most common failure is treating "product video" as "pretty dashboard": a gradient, an app shell, a button press, some cards, a zoom out. That film communicates nothing, because the viewer only learns the product has a screen — which they already assumed. Build the concept first. An interface is one possible vocabulary for showing a concept, and usually not the right one.

The runtime law supplied before this skill governs execution and wins any conflict.

SaaS advertising direction

Continuity and readable proof: lessons from preset review

Treat examples as a library of mechanisms, not finished layouts to copy. KiriTTS demonstrates a selected voice producing audio that persists after its editor leaves; Tessera demonstrates source fields resolving into a shared contract. Reuse the causal action for the current product, not its card count, copy, palette, or camera schedule.

Relay provides a third direction: a warm-paper editorial film with no browser shell and no giant-type opening. Questions around a brief converge into review rows, checks resolve on that same brief, an approval stamp lands, and the paper folds into a packet. The camera trails the packet's lateral arc to a receiving tray, where it opens into the approved brief. The brief finally becomes the mark. This is useful for review, approval and handoff products; it is not a universal envelope metaphor. Its distinguishing construction is one persistent artefact, a visible decision, then a journey caused by that decision. Keep shallow perspective during a reading shot (roughly 3-8 degrees), settle controls near face-on for interaction, and put travel on the artefact before the camera follows. Reserve separate layout space for outputs: an audio player must sit below editing controls with a real gap, not float across them.

User-specified slide, fade and continuous-action handoffs are valid creative choices. Preserve a clear subject and spatial continuity; do not force an unnecessary shape morph into every boundary. Stable baseline word reveals with early focus are the default for readable copy; oversize pullbacks and overshoot are deliberate accents, not requirements on every sentence. Never claim a render or live generation was reviewed unless it was actually inspected.

The target is an authored SaaS ad with varied shots. Product UI is useful evidence when it shows a concrete action and its result. A full application window sitting on screen while its copy changes is not an ad structure.

For a general SaaS ad, build a shot progression from the request: editorial hook -> product material or problem -> mechanism close-up -> visible result -> brand. Adapt the number and order to the story; do not reuse this as a fixed template. Two adjacent beats must differ in framing and in what visibly happens. Alternate wide, medium, and detail views with a reason for each move.

Borrow the reference shot design while obeying Motionly's seam rules: MORPH, MATCH-CUT, PARTICLE-REASSEMBLE, BEAT-CUT and BLUR-DISSOLVE. Recreate any reference edit that would break continuity with a real shared carrier.

Step 1 — Write the transformation chain

Before choosing a single visual, write the chain: four to six states, from what the world looks like before the product to what it looks like after. This is the film. Each state is a beat.

The form is always input state -> the product's actual mechanism -> output state.

AI security scanner
  website -> SCANNER -> code streams through -> threats detected
          -> red nodes isolate -> clean secure state

Collaborative writing tool
  messy ideas -> several people contribute -> ideas converge
              -> document crystallises -> finished piece

Delivery optimisation
  orders -> many tangled routes -> routes reorganise
         -> optimal paths emerge -> deliveries complete

Motion-graphics generator
  a sentence -> words break into parts -> parts take on motion
             -> the sentence is now a moving scene

Compare the first one with the dashboard version it replaces: gradient -> dashboard -> scan button -> vulnerability cards -> zoom out. Nothing in that sequence is the product's mechanism. It is furniture.

Rules for the chain:

Step 2 — Choose the vocabulary

The user message carries a FILM SHAPE brief with a premise and a guard chosen for this request, and the retrieved mechanics are selected to match it. Follow it. The five shapes:

| Shape | The subject is | Interface? |

| --- | --- | --- |

| transformation (default) | material changing state: scattered to ordered, noise to signal, many to one | focused input/result evidence when useful |

| hero-object | one artefact: a mark, a device, a symbol | no |

| editorial | the words themselves; type and colour carry the argument | no |

| data | real numbers, with units and periods | only as the surface holding them |

| task | the interface itself, genuinely used | yes — this is the one |

The interface test. Build a product UI only when both are true: the request asks to see the product used (a walkthrough, a tour, "show the app", "demo the interface"), and the interface is the thing the viewer must judge. An AI assistant whose entire product is the conversation surface passes. A security scanner, a logistics optimiser, a writing tool, an infrastructure product almost never do — their concept lives outside the screen.

When in doubt you are making a transformation film. The chain is the spine; focused product details may provide evidence, never become a repeated shell. Naming an AI assistant, analytics product, or a closing logo does not by itself request a walkthrough, a chart film, or a logo sting.

Step 3 — Make each state physical

A state is not a caption. It is something on screen with mass, position, and behaviour.

| State in the chain | How to stage it |

| --- | --- |

| Chaos, overload, mess | Many real objects crowding the frame, overlapping at depth, drifting inward. Not a caption saying "it is messy". |

| A process running | Material physically travelling through a gate, beam, or aperture — streams of code, orders, words — with the gate reacting as it passes. |

| Detection, selection | Some of the passing material changes state in place: colour, outline, isolation, being pulled out of the flow. |

| Convergence, ordering | Scattered elements travel along arcs to their positions and lock, in a visible order, the layout resolving as they land. |

| A result, a finished thing | One object built from the earlier material, held still enough to read, camera drifting. |

| The promise | Pull back from that object to the mark and at most four words. |

The material must persist through the chain. The code that streamed is the code that gets flagged. The scattered ideas are the sentences in the finished document. The tangled routes are the optimised ones. Recognisable continuity is what makes the film an argument instead of a slideshow.

The reference standard

Seven published product films were studied frame by frame for this skill. You cannot watch them, so everything they do is written out below as construction you can execute. This is the bar. A film that does none of it is not a product film, it is a slide deck.

The single most common gap between generated output and these films is scale and depth. The references put one enormous thing on screen at a time, in a lit space with a real ground. Generated output puts four small rounded rectangles on flat white. Fix that first; everything else is detail.

The ground is a lit space, never flat white

Not one of the seven uses plain #ffffff. Every ground is one of four kinds, and each carries light:

  1. Warm off-white with a coloured bloom. Ground #F6F5F8–#EFEEF3. Behind the focal object sits one or two soft radial glows in the brand hue at 25–45% opacity, 500–900px across, heavily blurred (filter: blur(80px) on an absolutely positioned circle). The frame reads as lit, not blank.
  2. Warm neutral grey. Ground #E8E6E3–#EDEBE8, no gradient, extremely restrained. Used when the content is photographic and must not compete.
  3. Near-black with a single warm source. Ground #0B0B0D–#141318, with one large radial gradient in the brand hue (orange, purple, red) bleeding from one edge or from behind the type at 30–60% opacity. Type on this ground carries a soft glow: text-shadow: 0 0 40px <accent at 45%>. Optionally a fine grain overlay at 3–6% opacity.
  4. Full-bleed brand colour. The entire viewport floods to one saturated brand colour — a coral #EE4B3C, a blue #1A56F0, a deep red — with white type. Held 1.5–2.5s. Use at most twice per film, as punctuation or as the final beat.

The ground never changes to white, never goes transparent, and never empties. When the film moves between grounds it does so as a full-bleed wipe or flood driven by an object, never a fade.

Typography

Family. A geometric or neo-grotesque sans throughout: Inter, Söhne, General Sans, Satoshi, or the platform stack -apple-system, "SF Pro Display", Inter, sans-serif. One family per film. Serif appears only if the brand's own wordmark is a serif.

Weight and tracking. Statements are 600–780 weight with tight negative tracking, letter-spacing: -0.03em to -0.055em. Never a light weight for a statement. Never letter-spaced-out uppercase except for a kicker.

Size varies enormously, and the variation is the point. Measured frame by frame in one reference film: a quiet opening statement spans 25% of frame width (~5% cap height, about 76px at 1080); a dramatic beat spans 69% (~14% cap height, about 210px); the brand close spans 20%. Three statements in one film, and the largest is three times the smallest.

So there is no single correct size, and setting every statement large is a real failure mode — it crowds the frame, leaves nothing for the object beats, and flattens the film into one loud note. Choose per beat:

| The beat | Share of frame width | About, at 1080 |

| --- | --- | --- |

| A quiet opener or a connective line | 25–35% | 76–90px |

| The one beat that has to land | 60–75% | 180–215px |

| The brand close | 20–30% | 60–90px |

The oversized moment comes from the camera, not the type. In the reference the line that fills the frame edge to edge is a normal statement with a camera pushed into it — it starts at reading size, the camera pushes until the words are cropped by both edges, and then it settles back. Set the type modestly and let the push do the work.

One thought, one line, no subtitle. Every statement is a single sentence or fragment, centred, with nothing under it. A second line of smaller grey explanatory text under a headline appears in none of the seven and is the clearest signal of generated output.

The accent word. Almost every statement colours exactly one word in the brand hue while the rest stays near-black or white: "So, progress slows" with slows in blue; "Where the world builds software" with software in purple; "Select your desired style" with style in red; "All connected", "Everywhere at once.". Two-tone within a single line, one accent word, never more.

Words arrive one at a time onto a fixed line. A recurring construction: Ideas. holds, then Notes. appears beside it, then Tasks. — the line assembling in place with the earlier words never moving. Similarly Translate. → Dub. → Distribute. Build this by laying out all words in the final position and revealing each with a y: 24 → 0 plus opacity on back.out(1.4), 0.35–0.5s apart. Do not re-centre the line as words appear.

Punctuation as design. Statements frequently end in a full stop that is itself an object — Ideas. Books. Done. — and a small four-point sparkle glyph ✦ sometimes closes a line.

Objects carry the film; type punctuates it. The reference is mostly things: a solid app icon alone at 25-30% of frame height, a phone tilted in perspective with real app icons orbiting it, a blue dimensional ribbon curving through the frame, eight content cards at depth with the camera flying through them, coloured pills with a title, a subtitle and a small icon. Between those, a short statement holds for a second and a half and then gets out of the way. If your film is statements with material underneath them, you have it backwards: alternate an object beat and a type beat, and let the objects have the screen time.

The shot catalogue

These are the shots the references are actually built from. Pick four to six per film; every one of them is a large, single-subject composition.

Full-bleed imagery under type. A photograph, map, or texture fills the entire viewport and a very large statement sits over it in white or black. Nothing else in frame. This is the strongest opening in the set.

The 3D application panel. The product UI is not a flat rectangle in the middle. It is a large panel rotated in three dimensions — perspective: 1600px on the world, rotateY: 12–26deg, rotateX: 4–10deg, rotateZ: -3–6deg — occupying 60–95% of frame width, with a real drop shadow (0 60px 140px rgba(0,0,0,.28)) and often bleeding off one edge of the frame. Two or three such panels at different depths and angles, with the camera travelling past them, is a standard beat.

A corridor of material at depth. Five to nine real objects — document pages, code planes, PR cards, content thumbnails — placed at distinct Z depths from translateZ(-1400px) to translateZ(300px), each with its own slight rotation, the nearest ones motion-blurred. The camera flies forward through the corridor. Every object carries genuine content: a real title, a real status pill, real body text. This shot replaces "some cards fade in".

The dimensional icon or device. One app icon, phone, or artefact rendered as a solid object at 25–45% of frame height, tilted in perspective with a soft contact shadow, slowly rotating. Around it, five or six smaller related icons orbit on elliptical paths at varying depth.

Icons used as words. A 3D icon sits inline inside a sentence at the same optical size as the type — "Any language [folder icon] Instantly" — and can then be dragged by a cursor out of the line and into a drop target. Icons are solid, dimensional, and lit, never flat monoline glyphs.

The macro edit. Extreme close-up on a single word or control filling 30–60% of frame width, with a text selection highlight sweeping across it, a caret blinking, or a value changing in place. The camera pushes in to reach it and pulls back out.

The rolling picker. A vertical list of eight to twelve real option names in light grey, scrolling continuously, with the currently selected one snapping to full black at the anchor line and a small marker beside it. Reads as a machine choosing.

Coloured status pills. Rounded-full chips — border-radius: 999px, padding: 10px 22px — in saturated brand colours with white or dark text, each often carrying a small icon. Stacked in a column with 0.08s stagger, or connected by thin curved lines into a node graph.

The measured number. One large figure at 8–14% of frame height with a unit and a period beside it, counting up, above a gradient-filled progress bar that fills in sync. Never an unlabelled sparkline.

The real terminal or timeline. Monospace output in a dark window with traffic-light dots, lines appearing one at a time with checkmarks; or a video editor timeline with layered filmstrip and waveform tracks in distinct colours, a playhead, and real timecodes.

Geometry as metaphor. Three large translucent circles in cyan, magenta and amber overlapping so the intersections blend additively; a soft multi-hue gradient sphere; an iridescent faceted form rotating slowly on black. Pure geometry at 30–50% of frame height, used where a UI would say nothing.

The brand close. The mark and wordmark together, centred, occupying 25–40% of frame width, on open ground or a full-bleed brand colour, with at most four words under it or a bare URL. In one film the mark substitutes for a letter in the final word. The close is never a small pill and never a paragraph.

Camera

The camera is a real instrument in every one of these films and it never stops.

Adjacent beats contrast in framing — a macro follows a wide, a full-bleed follows a detail. They do not have to contrast in camera move, and alternating push with pull to manufacture contrast is the failure this rule is most often turned into. Most beats need no camera move at all.

Transitions between beats

Most boundaries in these films are carried by an object, and the rest by motion that runs straight through the cut. The ones that actually appear:

  1. Object-led wipe. A large shape, panel, or colour field sweeps across the frame in one direction and the next beat is already composed behind it. The wipe is the carrier.
  2. Camera-continuous cut. The camera is already travelling; the material changes while the movement's axis, direction and speed are preserved across the boundary, so the eye reads one continuous move.
  3. Morph of the shared object. A card becomes a window becomes a panel — one element whose width, height, radius and surface change continuously while its contents cross-fade inside it.
  4. Scatter and reform. A cluster of objects breaks apart on individual vectors with rotation and motion blur, travels, and reassembles as the next beat's composition.
  5. Beat cut. On the music drop or a big hit, the outgoing shot accelerates into a blur ramp and the cut lands on the beat or 2 frames ahead of it. The incoming shot is already moving and still smeared on its first frame, then settles on an exponential ease-out. Use beatCut.
  6. Blur-dissolve. Between quieter shots, both keep moving while one blurs out and the next resolves out of the same blur. Use blurDissolve.

Never a plain cross-dissolve, never a fade through white or black, never a cut between two still frames. A hard cut is only ever a beat cut between two moving shots.

How to actually shoot the film, move by move

Everything below was measured off the reference films frame by frame at 8 frames per second. The numbers are what those films really run at. Build the moves, do not invent your own — the difference between these and a slide deck is entirely in the timing.

Move A — The Oversize Pull-Back

The signature opening. The line begins larger than the frame, cropped by both the left and right edges so only two or three words are legible, and shrinks until the whole sentence fits. The sentence completes because the frame effectively widened, not because words faded in.

t+0.00  line at scale 2.9, opacity 1, cropped by both edges
t+0.00  → scale 1.0 over 0.65s, ease "expo.out"
t+0.65  full sentence visible at reading size, centred
t+0.65  hold 0.9s with a drift: scale 1.0 → 1.03, x 0 → -14
t+1.55  exit: opacity → 0 over 0.3s, or blur 0 → 12px

Measured: the reference runs this in 0.6–0.75s. It is fast. A two-second pull-back reads as sluggish. Use macroSettle(timeline, line, { at, startScale: 2.9, blur: 0, duration: 0.65 }) and give the beat a matching cameraPull.

Move B — Grow and Complete

The other way a sentence finishes itself, and the more useful one. The opening fragment sits small and centred, then grows while the rest of the sentence arrives beside it and the line re-centres continuously.

t+0.00  fragment "Import" at scale 0.55, opacity 1, centred
t+0.00  → scale 1.0 over 0.50s, ease "power3.out"
t+0.18  remaining words fade 0 → 1, left to right, 0.07s apart,
        each also y 10 → 0 on "back.out(1.3)"
        the line's x shifts left each time a word lands so the
        whole sentence stays centred — never let it grow rightward
t+0.55  complete sentence, centred, full size
t+0.55  hold 1.0s with scale 1.0 → 1.04 continuing

The words arrive ghosted then solid — an opacity ramp, not a slide from off-screen. Total build is about 0.75s for a five-word line.

Move C — Macro Settle, and the snap is the point

t+0.00  scale 3.0, blur 20px, opacity 0
t+0.00  → opacity 1 over 0.12s
t+0.05  → blur 20px → 0px over 0.25s, ease "power4.out"
t+0.00  → scale 3.0 → 1.0 over 0.85s, ease "expo.out"
t+0.85  settled, then drift scale 1.0 → 1.04 and x 0 → +22
        across the rest of the hold

Focus resolves at t+0.30, a third of the way through the movement. The line is sharp while it is still travelling. Text that stays soft until it stops looks like a video artefact. Use macroSettle(...), which already runs these numbers.

Move D — Ground flood

Never cross-fade between beats. Flood the ground instead:

t+0.00  next ground colour enters as a full-bleed layer,
        scaleY 0 → 1 from one edge, or x -100% → 0,
        over 0.45s, ease "power3.inOut"
t+0.10  outgoing type opacity → 0 over 0.2s, or blurs out
t+0.30  incoming type begins Move B or Move C on the new ground

The frame is never empty: the new ground is already covering the viewport before the old type has finished leaving.

Move E — The object rises and never stops

A device, icon or artefact enters from outside the frame edge, not by fading in:

t+0.00  y +55% (below the frame), rotation -8deg, scale 0.85
t+0.00  → y 0, rotation 0, scale 1.0 over 1.1s, ease "expo.out"
t+1.10  continuous rotation ±6deg and y ±12px for the whole beat,
        so the object is never still

Size it at 30–45% of frame height, tilt it rotateY 14–22deg with perspective: 1600px, and give it a real contact shadow.

Move F — Word-by-word onto a fixed line

Ideas. → Ideas. Notes. → Ideas. Notes. Tasks. Lay all three out in their final positions first, hide the later ones, and reveal each with y: 22 → 0 plus opacity on back.out(1.4), 0.42s apart. The earlier words never move.

The end-to-end film

A 22-second film, beat by beat, with the times it actually runs at. Adapt the content; keep the structure, the scale changes, and the pacing.

Beat 1 — 0.0 to 4.2s. The claim, oversized.

Ground floods in as a full-bleed dark or brand colour. The opening statement plays Move A: starts cropped by both frame edges at scale 2.9, pulls back to reading size over 0.65s. Hold with a drift. One word in the brand hue. Camera: a slow cameraPull from 1.15 to 1.0 across the whole beat so the frame is never static.

Beat 2 — 4.2 to 8.6s. The problem, made physical.

Ground floods to the second colour (Move D). The subject is now an object, not a sentence: a device rising from below (Move E), a corridor of real cards at Z depths from -1400px with the near plane blurred, or overlapping translucent circles. It occupies 35–55% of the frame. A short line sits over it, entered with Move C, no larger than half the height of Beat 1's statement — the scale contrast between beats is what makes the film read as directed. Camera: a lateral track of 500–900px, opposite in direction to Beat 1's move.

Beat 3 — 8.6 to 13.4s. The mechanism, in macro.

Push in hard. cameraPush scale 1.0 → 1.55 over 1.4s on expo.out, landing on one detail: a word being selected with a highlight sweeping across it, a value counting up, a control being pressed, a caret typing. The detail fills 40–65% of frame width. This is the closest shot in the film and it must be genuinely close — if it looks like the previous beat with slightly bigger elements, it is not a macro.

Beat 4 — 13.4 to 17.8s. The result, pulled back.

cameraPull from 1.55 back to 0.95 over 1.6s, revealing what the mechanism produced: the finished artefact, the organised set, the generated image, the completed table — at 55–80% of frame width. A line above or below it plays Move F, three short words landing 0.42s apart.

Beat 5 — 17.8 to 22.0s. The brand.

Ground floods to the brand colour full-bleed (Move D). The mark and wordmark arrive together at 25–40% of frame width, centred, with at most four words or a bare URL beneath. The mark enters at scale 0.7 with a back.out(1.5) over 0.6s; the words follow 0.25s later. Hold to the last frame with a 1.0 → 1.03 drift. Nothing else is in the frame.

The scale rhythm across those five beats is the film. Huge → medium → macro → wide → medium. If every beat sits at the same size, no amount of correct colour or easing will save it. Write the scale of each beat's subject down before you author anything, and make sure no two adjacent beats match.

Only some beats get a camera move. In the five beats above the camera holds through Beat 1 while the type pulls itself back, tracks once in Beat 2, pushes in Beat 3, holds again, then pulls back in Beat 5 — four moves across five beats, each continuing the same inward journey. What stops a still beat from freezing is the type or the object still moving inside it, plus a 1-3% drift, not a camera move bolted onto every beat.

Laws that hold for every shape

The camera never stops and never resets. Continuous motion from first frame to last — push, lateral travel, orbit, pull. It never snaps back to scale 1 between beats. Author one data-camera-world and move the viewport through it.

The frame is filled. One continuous world, field, surface, or colour ground fills the viewport, and objects live inside it. Small boxes adrift in empty space is the failure this rule prevents — but "filled" means a world, not necessarily an app shell.

One beat, one subject, at a size you can read. Every beat has a single thing the viewer is looking at, and it is large: a sentence spanning most of the frame, one object at 25-45% of frame height, a proof artifact at 55-80% of frame width. Three or four small cards spread around an empty frame is not a composition — it is a list, and the viewer cannot tell what to look at or what you are claiming. A frame whose largest object covers less than 3% of the canvas is rejected outright as "small cards float in empty space". If your beat is a set of items, either enlarge one of them to be the subject and let the rest support it, or gather them into a single object with real mass.

Consecutive beats share material. Not a mechanism at the boundary — actual objects. Something visible before the cut is still visible after it, and it is the thing the next beat is built around. A film where every element is replaced at the cut plays back as separate films spliced together, however sound its carrier chain reads on paper, and it is rejected with "nothing survives the cut". This is stricter than the seam rule and it is the one a viewer actually feels: if you cannot point at the object that is on screen on both sides, the beats are not the same film. The one exception is a beat-cut or blur-dissolve seam: there the motion running through the cut is what holds the film together, so neither side may be still.

Plan the carrier chain before the beats. Write the chain first: one object at 0s, and what it becomes at each boundary — the sentence becomes the glyph becomes the button becomes the product. The beats are the states that chain passes through, not containers you fill and then look for a way out of. Two independently built panels cannot morph into each other; one element whose outline changes can.

Every boundary is a seam, and a seam owns time. A boundary is not the instant one beat's duration runs out. It is an object in the returned JSON with a start, a length, a named carrier, and the two beats it joins — because a handoff given zero seconds is a cut no matter which helper you call. Budget 0.35–1.8s for each one and schedule the handoff in timeline.js across exactly those seconds.

A seam straddles its cut. Beats still tile: beat A's interval ends exactly where beat B's begins, at the cut time c. The seam opens before c and closes after it — at < c and at + duration > c — so the outgoing beat is still on screen as the carrier leaves and the incoming beat already exists as it arrives. A handoff scheduled beside the cut instead of across it has no frames in which both sides exist, and the film swaps instead of moving. A boundary at 8.0s with a 1.0s morph is at: 7.5, duration: 1.0, not at: 8.0.

Because the seam straddles the cut, each beat's layers may be on screen slightly outside its own interval — from the start of its incoming seam to the end of its outgoing seam, and not one frame further.

Each boundary uses one mechanism, and techniques[].handoff and seams[].mechanism must both name the one you built:

Cuts between still frames, plain cross-dissolves, fade-to-black and opacity-only scene changes are forbidden between beats. Opacity may clean up internal faces after physical continuity is established. Maintain a dominant direction through connected seams: match axis, direction, velocity and motion phase rather than resetting at every boundary. Mark the owner data-transition-carrier.

Clear the outgoing beat — at the end of its seam, not at the cut. Every element you tag data-scene="<id>" must be gone from the frame by seam.at + seam.duration, the moment its outgoing seam completes. Past that it is composited on top of the next beat and the film is rejected outright with "still shows the stale layer from <scene>". Before that it is supposed to be there: that overlap is the transition.

Clear it in reverse hierarchy: innermost details leave first, along the vector the beat was travelling, then the container. autoAlpha: 0, visibility: hidden, display: none, an opacity at or under 0.02, or travelling fully outside the camera viewport all count as cleared; anything else still counts as on screen. Schedule it with timeline.set(...) or a tween that completes at the end of the seam — never an onComplete mutation, because scrubbing backwards must restore it.

The carrier is a container, never a shape. A painted rectangle with nothing in it is the most common way a generated film reads as broken: the box keeps its own background, border and radius lit while the outgoing face has already left and the incoming one has not arrived, so the viewer watches a coloured plate sit in the middle of the frame. Any painted element between 2% and 60% of the frame that holds no visible content is rejected with "shows an empty plate".

Two ways to be safe, and you should usually take the first:

The carrier lives outside every scene container. It is a direct child of the data-camera-world, a sibling of the data-scene containers — never inside one, and never carrying a data-scene tag itself. This is the single most common way a carrier chain fails: the carrier is authored inside the beat it starts in, that beat is cleared at the cut as the rules require, and the carrier is cleared along with it, so nothing crosses the boundary however the handoff was written. Being outside the subtree is what lets it survive the clear.

<div data-camera-world>
  <div data-edit="story-carrier" data-transition-carrier>...</div>  <-- crosses every boundary
  <div data-scene="scene-01">...</div>                              <-- cleared at its seam
  <div data-scene="scene-02">...</div>
</div>

The carrier is the exception to clearing, and that is why it must not carry a data-scene tag: it is the one thing meant to cross the boundary. The carrier must be visibly on screen on both sides of its seam — the composition is seeked to seam.at - 0.15s and seam.at + seam.duration + 0.15s and the carrier is looked for in both frames. A morph() call on an element that is hidden, off camera, or unchanged in size and position at those two times is reported as a hard cut, whatever the source says.

Action causes result. A press produces the menu, a scan produces the detection, a convergence produces the document. Nothing appears because the timeline reached a number.

Type enters cropped and settles. Important sentences arrive at scale 2.0 or greater, oversized and clipped by the frame, then settle into readable focus. Never simply faded in at final size.

The resolve is a pullback from the proof. Retreat from the last real thing you showed to a mark and at most four words, on a clean or full-bleed brand ground with generous margins. Not a landing-page hero: no explanatory paragraph, no CTA button, no competing links. The film ends on an image, not on a signup form.

Two mechanical rules

A statement beat is the statement, alone. When a beat exists to say something, the sentence is the only thing in the frame. No cards under it, no chips beside it, no panel behind it, no metric tiles in the corner. Nothing but the ground and the line.

This is the sharpest single difference between the reference films and generated output. In the references, every editorial beat — "clarity disappears", "Import your own voiceovers", "Select your desired style", "Everywhere at once.", "Customize it" — is one line on an otherwise empty ground, held for 1.5 to 2.5 seconds with nothing competing for the eye. Generated films put a headline on the upper third and park two or three small cards underneath it, and the result says nothing, because the viewer does not know whether to read the sentence or inspect the cards.

Exactly two things may share the frame with a statement:

If the beat needs to show material, that material is its own beat. Alternate: statement, material, statement, material. Never both at once.

The camera is still when the type is moving. Do not put a camera move on every beat. On a statement beat the type does the moving — it grows, it pulls back, it settles — and the camera holds, with at most a 1–3% drift so the frame is not frozen. Adding a push on top of type that is already scaling produces two competing movements and reads as drift, not direction.

The camera travels on space beats: flying through a corridor of material, tracking across a wide world, orbiting an object, pushing into a detail. Those are the beats built to be moved through, and they are where a camera move means something.

One dominant direction per film. Pick a through-line — the camera works its way inward across the film, or travels consistently to the left, or descends. Every camera move advances that line. What kills a film is alternating for the sake of contrast: push, pull, push, pull, or left, right, left, right. That reads as a machine cycling through options, and it is worse than no camera at all.

Concretely, over five beats: hold, track left 700px, push in 1.55, hold at the new scale, pull back to 0.95. Four moves across five beats, all of them continuing the same inward journey, and two beats where the camera does nothing because the type or the object is carrying the motion.

Motivate every move. The camera pushes because there is something to look at closely. It pulls back because something outside the frame is about to matter. It tracks because the material continues in that direction. If you cannot say what the move is following, cut it and let the beat be still.

Name your world. The stage's first child is the full-bleed world at width:100%; height:100%, with a data-edit id naming what it is: scan-field, route-space, idea-field, product-surface, editor-canvas, workspace. Everything else is a child of it.

Keep the camera on the subject. A viewport-sized world is valid. Enlarge it only for actual spatial travel; never require a 3200-5600px canvas to satisfy a score. Resolve the focal subject's position after parent and child transforms combine. The settled text and proof must remain inside the viewport with readable margins; intentional cropping belongs to the entrance or transition, not the reading hold.

The type treatment, and the two rules that stop it fighting itself

Editorial lines reveal word by word, with focus resolving before travel. Each word rises y: 18 → 0 while its opacity comes up, and a second, shorter track takes it from blur(5px) to blur(0px) in about half the time. The word is therefore sharp while it is still moving, which is what makes the line read as type landing on a page rather than a caption fading up. Use editorialTextReveal(timeline, line, { at, duration: 0.42-0.5, stagger: 0.08-0.11 }), which runs exactly this.

Two failures follow from getting the timing around it wrong, and both look like the type is fighting itself.

Nothing else animates the line until its last word has settled. Compute it — do not estimate:

lastWordSettled = at + (wordCount - 1) * stagger + duration

A five-word line revealed at 0.08 with stagger 0.075 and duration 0.46 settles at 0.77s. Starting the line's own scale, drift or push before that has the whole block moving while individual words are still travelling inside it, and the two motions visibly beat against each other. Every breathe, push and exit begins at or after lastWordSettled.

Never animate filter on a line while its words still carry a filter. The reveal animates blur on each word; blurring the parent on exit nests a second filter over the first, the browser composites the subtree twice, and the exit stutters. Clear the children first, at the exit's own start:

const words = editorialTextReveal(t, line, { at: 6.3, duration: .42, stagger: .09 });
t.set(words, { filter: "none" }, 8.55);
t.to(line, { y: -320, filter: "blur(3px)", duration: .7, ease: "power3.in" }, 8.55);

The same holds for any property the reveal owns: the parent takes over only once the children have let go.

Grow to the edge, then retreat to somewhere new

The strongest single move in this vocabulary, and the one to reach for when a beat needs to land:

A line settles at reading size, then keeps growing — past comfortable, until it is cropped by the frame and only two or three words are legible. Hold it there for a beat. Then the camera pulls back, and the retreat does not simply undo the zoom: it lands somewhere the film has not been. The frame that opens up is already occupied by the next thing — the object the line was about, the interface it names, the mark it resolves into.

t+0.0   line settles at scale 1.0
t+0.6   scale 1.0 → 1.9 over 1.1s, expo.out. The frame can no longer hold it.
t+1.7   hold cropped, 0.5s, with a 2% drift so it is not frozen
t+2.2   camera scale 1.0 → 0.62 over 1.3s, expo.out, and x/y toward the
        new subject, which is already composed and waiting
t+3.5   the line is now small in the corner of a wider world

The point is that the zoom and the retreat are one continuous gesture with a turn in the middle, and the destination is new information, not the shot you started in. Pulling back to exactly where you began is the wobble this vocabulary exists to avoid.

Interface physics, not cinematic physics

You are a motion designer moving real interface material, not a camera cutting between shots. Four rules, and they are checked against rendered frames.

Never dissolve, and never through an empty frame. No cross-fades, no fade-to-white, no fade-to-black between beats. The ground is constant for the entire film: it does not brighten, does not go transparent, and never becomes a blank screen while one beat leaves and the next arrives. A stretch with nothing on screen is rejected with "holds a blank frame", and a boundary with an empty side is rejected with "passes through an empty frame".

Elements enter and leave along vectors. Cards slide up from below. Lists expand outward from the row that owns them. Panels grow from the edge they are anchored to. Outgoing material travels off along one motivated direction in reverse hierarchy — innermost details first — while the carrier keeps moving. Opacity only ever cleans up a face after it has already physically left.

Snappy interface easing. power2.out / power3.out for arrivals, back.out(1.3-1.5) for tactile landings, power2.inOut for lateral travel, expo.out for camera and geometry. Never ease: "none" or "linear" on a reveal — a constant-rate opacity ramp is what makes generated text read as a low-opacity overlay instead of an element loading onto a page. Every reveal carries a transform as well as its opacity.

Rigid material stays sharp. Text and interface lines do not warp, smear, or blur while they move. Every blur() resolves to blur(0px), and the only blur in the film is a deliberate macro-settle focus pull that lands sharp before the movement stops.

Anchor the layout to a structure. Objects do not drift in open space. Either place them on a visible grid, connect them with interface lines that draw themselves, or group them inside one panel with real mass. Three nodes floating apart with nothing between them reads as a broken interface, not a composed frame — and a beat whose largest object is under 3% of the canvas is rejected outright.

Typography: use the built treatments

Rule 3 of the direction brief names one treatment per film, and all three are callable presets. Use the preset rather than re-implementing it as an opacity fade:

macroSettle and kineticAnchor return the split word elements, so you can hang a secondary action off them. pullbackComplete returns the timeline, not an array — destructuring it crashes the film. Check the return type in the runtime API reference before you index or spread any preset's result. Use exactly the treatment the direction chose.

Timing

exitStart >= lastWordSettled + readingHold, where lastWordSettled = entryStart + (wordCount - 1) * stagger + wordDuration. Compute it; do not estimate.

No stretch longer than 1.6s may pass with nothing scheduled. During any hold one bounded action continues: material travelling, a counter, a scan, a drawn line, or the camera's own settle. A frozen frame is the single most reported defect.

Easing: back.out(1.2-1.6) for tactile arrivals, expo.out / power4.out for camera and geometry, power2.inOut for lateral travel. Never bounce.out or elastic.out.

Scaling to the requested duration

Keep the chain's order and drop or merge middle states — never compress every beat uniformly, and never cut the opening state or the resolve.

Using HyperFrames components

Retrieved components arrive with real source, chosen to match the film shape. They are reference implementations, not callable functions.

Before returning

  1. Can I write out my transformation chain, and is each beat one of its states?
  2. Is the middle of the chain the product's actual mechanism, or is it furniture?
  3. Did I build an interface? If so, does the request pass the interface test, or did I reach for a dashboard out of habit?
  4. Does the same material persist from the first state to the last?
  5. Does the camera move continuously, without resetting between beats?
  6. Is any painted shape ever on screen with nothing inside it?
  7. Does an object visibly carry every boundary — and for each seam, is that object on screen and changing at both at - 0.15s and at + duration + 0.15s?
  8. Does every seam open before its cut and close after it, rather than starting at the cut?
  9. Is any stretch longer than 1.6s without a scheduled action?
  10. Does every sentence finish settling before its exit begins?
  11. Does the ending pull back from a real thing that was actually shown?

Self-assigned scores and helper counts are not evidence. Answer the eleven questions.

Mechanics that actually break, and the fix for each

Every item below is a defect that shipped in a generated film, was caught in a rendered frame, and was traced to a specific cause. They are not style notes.

The compositing traps

Never share one 3D context between the ground and a tilted panel. A transform-style: preserve-3d world sorts its children by 3D position rather than DOM order, so a flat ground plane and a rotateY panel intersect, and the browser draws that intersection as a hard diagonal seam straight across the frame. It looks like a lighting bug and it is not one. Declare perspective on the specific containers whose direct children rotate, and keep the lit ground out of that context entirely:

.world { position: absolute; inset: 0; perspective: 2000px; } /* the mark  */
.layer { position: absolute; inset: 0; perspective: 2000px; } /* the panel */

Two elements that must match silhouette across a handoff need the same perspective value and the same perspective origin, or their projections differ and the match reads as a jump.

Use preserve-3d only where you genuinely need sibling planes sorted by depth — a corridor of record cards flying past the camera is exactly that case. Parallel planes all facing the camera never intersect, so a corridor is safe; a ground plane and a panel tilted on rotateY are not. If the two must coexist, the ground goes outside the 3D context, which is where it belongs anyway.

The lit ground belongs outside the camera world. A bloom parented to the world is dragged, scaled and translated by every camera move, so the light source slides around the frame and the glow blooms in one beat and is gone in the next. Put the ground and its bloom in the stage, as siblings before the data-camera-world, and the light stays fixed to the frame while the world moves through it.

Stacking order is part of the composition, not an afterthought. A carrier that morphs into the next beat's panel will paint over that panel and hide it completely, so the beat looks empty even though every tween is correct. Anything that overlaps needs an explicit z-index, written down once:

ground 0 < scenes < morphing mark 18 < panel scene 20
         < shared carrier 24 < export artefacts 30
         < a dragged object 32 < cursor 40

A dragged file that renders behind the target it is being dropped into is this bug, not a positioning error.

The empty plate, in the form it actually takes

The rule says a painted carrier must never be on screen with nothing in it. How it really happens: a small mark morphs into a large panel over 1.15s, its logo fades out at the start, and the panel's content fades in at the end, leaving most of a second where a large blank rectangle sits in the middle of the frame. Two fixes, and use both:

Do not dock a sibling onto a header inside a rotated panel. It cannot stay registered: the panel's perspective projection moves its header, the sibling is not subject to that projection, and the mark ends up floating outside the panel's corner. Morph the carrier into the panel instead, and give the panel its own header logo. The icon becoming the app is a stronger move anyway.

GSAP timing traps

A stagger is folded into every repeat. totalDuration = (duration + staggerTotal) * (repeat + 1). A 158-target breathing tween at { duration: 0.62, repeat: 17, stagger: { each: 0.011 } } is not 11 seconds, it is (0.62 + 1.74) * 18 = 42.5 — which silently stretched a 45-second film to 60. Keep the per-cycle stagger tiny and check the arithmetic.

expo.out resolves almost immediately. At 20% of its duration an expo.out is already about 93% complete. A "type arrives huge and pulls back" built as one expo.out scale tween therefore never shows the huge state: it is gone within two frames and the viewer sees a small line that was briefly blurry. Build the oversized moment explicitly instead:

t+0.05  autoAlpha 0 -> 1, and scale 3.15 -> 3.30 over 0.9s (a slow creep)
t+0.18  blur 6px -> 0 over 0.44s      focus resolves while it is still huge
t+0.95  scale -> 1.0 over 1.1s, expo.out          this is the pull-back
t+2.05  reading hold, scale -> 1.035, x -> -14

The oversized state needs roughly a second of screen time to be read. And use the move once: opening huge and then growing to the edge again later is the same idea twice.

Blur on a transformed element is scaled by the transform. blur(6px) on a line at scale: 3.15 reads as about 19px. Pick the radius for the scaled result.

Determinism, concretely

The editor scrubs backwards, so the timeline is seeked out of order constantly. Two rules make that safe.

Never let two tweens own the same property in overlapping windows. A caret blink with repeat: 5 that outlives the tween meant to hide it will keep overwriting the hide, and the element's final state then depends on which way the playhead arrived. Close the blink before the hide starts.

A bare to() records its start value lazily, at whatever moment it first renders. Any tween whose start depends on an earlier tween's end is therefore non-deterministic under seeking. Use fromTo with explicit endpoints and immediateRender: false for every face swap, label swap and re-show:

t.fromTo(el, { autoAlpha: 0 }, { autoAlpha: 1, duration: 0.5, immediateRender: false }, at);

Text that changes mid-film is driven from a proxy so it restores on rewind:

const p = { v: 0 };
t.to(p, { v: 1, duration: 0.4, ease: "none",
  onUpdate() { el.textContent = p.v < 0.5 ? before : after; } }, at);

onUpdate is safe under scrubbing; onComplete mutations are not.

Framing a product UI you intend to push into

Work out the reachable region before choosing a macro target. With a panel of width W centred in a frame of width F, a camera at scale s can only be centred on |x| <= W/2 - F/(2s) before the ground shows past the panel edge. A 1660px panel in a 1920 frame at s = 1.0 can travel nowhere; to macro on a menu 494px left of centre it needs s >= 2.46. That is not a problem — that is the macro shot — but discovering it after authoring the move is.

Author interface text at roughly 1.6x its real pixel size. A 1:1 app shell has 20px body text, which is illegible at 1080p in the wide shot and forces every beat to become a close-up.

Product truth, in the details

Show the interaction the product actually has. A voice "chosen" by clicking a card that already displays the chosen voice shows nothing. Open the picker, let the list be read, highlight rows under the pointer, select one, and land the result in both places the real UI displays it. The same for a file: the pointer picks it up, carries it on one arc, the target lights while the file is over it, and the drop is the release. A file that teleports into a dropzone is not an upload.

Prove features with the artefact, not with a caption row. Three columns of small text under a dropzone reading "Speaker Identification / Accurate Timestamps / Multi-language Support" is the tiny-cards failure wearing a different hat. Put the proof in the thing the beat produces: labelled and colour-coded speakers, per-segment timestamps, and a "Khmer + English" chip in the transcript header say all three, at readable size, as evidence.

Use real icon geometry. Inline the actual Lucide path data as SVG. A bordered empty rectangle standing in for a file icon, or a hand-drawn approximation of a microphone, is visible immediately. A component library cannot be imported into composition.html; its paths can be pasted into it.

A waveform is speech, not noise. Random per-bar scaleY jitter reads as a broken equaliser. Generate a mirrored envelope with syllable groups and two real breaths, draw it left to right as it is produced, and fill the played portion behind a travelling playhead. Two stacked copies of the same geometry, the upper one clipped by inset(), gives the played/unplayed split for free.

Non-Latin type

A script with its own metrics needs its own face and its own settings. Khmer stacks diacritics above and below the baseline: bundle a real Khmer face (Kantumruy Pro, Noto Sans Khmer), set letter-spacing: 0 — the negative tracking that suits a Latin display face breaks the script — and give it more line height than the Latin line beside it. Falling back to a system default is immediately visible to anyone who reads the language, and it is the detail that tells them the film was not made for them.

Strict JSON output contract

For embedded generation, return ONLY one JSON object satisfying this schema. No Markdown wrapper, comments, placeholders, or ellipses. Local file-authoring agents may write the same complete source files directly when the user requests repository edits.

All scene and direction IDs must agree; one direction and technique entry per scene, and one seams entry per boundary — scenes.length - 1 of them. Scene start/duration values use final playback seconds, tile without gaps, remain within total duration, and agree with GSAP; each seam straddles the cut between the two beats it names. Direction.hold states the actual settle and exit times and the reading interval. Direction.transition names the source, destination, mechanism, boundary time, and continuity; use final-hold only for the ending. Techniques list only mechanics actually implemented. skills lists the bundled skill actually applied, not unavailable skills.

Every seams[].carrier must be a data-edit id that exists in compositionHtml and is tweened by name in timelineJs across that seam's own seconds. A carrier you never animate, or one that does not exist, is a rejected generation rather than a weak one.

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "title",
    "duration",
    "skills",
    "scenes",
    "direction",
    "seams",
    "techniques",
    "compositionHtml",
    "timelineJs",
    "reply"
  ],
  "properties": {
    "title": { "type": "string", "minLength": 1 },
    "duration": { "type": "number", "exclusiveMinimum": 0 },
    "skills": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1,
      "items": { "const": "write-motionly" }
    },
    "scenes": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["id", "label", "start", "duration", "accent"],
        "properties": {
          "id": { "type": "string", "minLength": 1 },
          "label": { "type": "string", "minLength": 1 },
          "start": { "type": "number", "minimum": 0 },
          "duration": { "type": "number", "exclusiveMinimum": 0 },
          "accent": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }
        }
      }
    },
    "direction": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "scene",
          "composition",
          "spatialRegion",
          "cameraStart",
          "cameraEnd",
          "cameraTarget",
          "primary",
          "secondary",
          "hold",
          "transition"
        ],
        "properties": {
          "scene": { "type": "string", "minLength": 1 },
          "composition": { "type": "string", "minLength": 1 },
          "spatialRegion": { "type": "string", "minLength": 1 },
          "cameraStart": { "type": "string", "minLength": 1 },
          "cameraEnd": { "type": "string", "minLength": 1 },
          "cameraTarget": { "type": "string", "minLength": 1 },
          "primary": { "type": "string", "minLength": 1 },
          "secondary": { "type": "string", "minLength": 1 },
          "hold": { "type": "string", "minLength": 1 },
          "transition": { "type": "string", "minLength": 1 }
        }
      }
    },
    "seams": {
      "type": "array",
      "description": "One per scene boundary: scenes.length - 1 entries. Empty only for a single-scene film.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "from",
          "to",
          "at",
          "duration",
          "carrier",
          "mechanism",
          "becomes"
        ],
        "properties": {
          "from": {
            "type": "string",
            "minLength": 1,
            "description": "Scene id the carrier leaves."
          },
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "Scene id the carrier arrives in."
          },
          "at": {
            "type": "number",
            "minimum": 0,
            "description": "Playback second the handoff begins. Strictly before the cut between from and to."
          },
          "duration": {
            "type": "number",
            "minimum": 0.35,
            "maximum": 1.8,
            "description": "Seconds the handoff occupies. at + duration must land strictly after the cut, so both beats are on screen throughout."
          },
          "carrier": {
            "type": "string",
            "minLength": 1,
            "description": "data-edit id of the one element that crosses this boundary. Must exist in compositionHtml and be tweened by name in timelineJs."
          },
          "mechanism": {
            "enum": ["morph", "match-cut", "particle-reassemble"]
          },
          "becomes": {
            "type": "string",
            "minLength": 1,
            "description": "What the carrier is entering the seam and what it becomes leaving it."
          }
        }
      }
    },
    "techniques": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "beat",
          "registryReference",
          "motionlyPresets",
          "sustainedMotion",
          "handoff"
        ],
        "properties": {
          "beat": { "type": "string", "minLength": 1 },
          "registryReference": {
            "type": "string",
            "description": "Actual reused registry name, or none with a brief reason."
          },
          "motionlyPresets": {
            "type": "array",
            "items": { "type": "string", "minLength": 1 }
          },
          "sustainedMotion": { "type": "string", "minLength": 1 },
          "handoff": {
            "enum": ["morph", "match-cut", "particle-reassemble", "final-hold"]
          }
        }
      }
    },
    "compositionHtml": { "type": "string", "minLength": 1 },
    "timelineJs": { "type": "string", "minLength": 1 },
    "reply": { "type": "string", "minLength": 1 }
  }
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.