/genmotion:three-transitionsfrom genmotion
Builds scene-to-scene transitions in Three.js videos where nothing crosses a cut. Covers cover layers, wipes, carries, match-push, rush, and whip transitions with sub-frame motion blur.
Ships in genmotion. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
motion-language holds the handoff catalogue: which handoff, how many frames, which sound, and the rule of one signature plus one workhorse per film (direction picks them). This skill is how each one is built when scenes are separate Three.js builders cut back to back.
Two facts shape everything here:
Code: references/cover-layers.md (one overlay shader for flood, iris, wipe, block wipe and flash), references/carries.md (persisting element, continuous loops, rush, whip with motion blur, exit-then-cut, board erase). Both build on three-camera's components/stage.ts (overlay(), PX) and components/ease.ts.
Not for: choosing the handoff (direction, motion-language), the camera rig itself (three-camera), the sound on the cut (sound-design).
Rule (motion-language) | How it is enforced here |
|---|---|
| Last 10–15f of N and first 10–15f of N+1 are one move | Plan both scenes' timelines together; write the handoff frame numbers into components/handoff.ts |
| The carrier is pixel-identical across the cut | Both scenes import the carrier's pose, colour and size from components/handoff.ts and build it with the same factory; never retype a number |
| Same picture means same rendering | Both scenes: same fitCamera, same colorPipeline mode, same lights, scene.background set; the carrier and cover layers toneMapped: false |
| Drift dies before a matched cut | restDrift (zero at both ends) or drift × (1 − transition progress) |
| Non-carriers gone 2–8f before the cut | Exit 6–9f inCubic, clear by D − 3 when nothing carries the cut (D − 8 when a carrier stays); the frame 2f before the cut shows only the carrier or the ground |
| Accelerate through the cut or land ≥10f early | Covers complete 2–5f before the cut and hold; camera carries use matching spline slopes (three-camera) |
| A cover lands on content | At most 4 background-only frames per turn (a flat ground or a closed cover with no word, no product, no carrier on it): the next card's first word is on screen the frame the cover closes (or resolves inside the closing iris), and the next shot opens out of the card's last legible frame. Never stack a full cover and an exit-then-cut gap on one turn. A judged film closed an iris to black, then began its card, and exited the card to black, then opened: 6–8 empty frames at each of five turns, 1.2 s of nothing in 20 s |
Floods, irises, wipes, block wipes and flashes are all one full-frame plane on the camera-locked overlay (1 unit = 1 px, so radii and edges are in composition px), drawn by one shader:
uMode | Draws | Handoffs |
|---|---|---|
| 0 flat | The colour at uOpacity | Flash-to-white, impact, fade to black (final frame only) |
| 1 disc | Inside radius uRadius around uCenter | Flood becomes object, iris-out, burst |
| 2 hole | Outside the radius | Iris-in onto an object |
| 3 wipe | Behind an edge travelling along uDir | Panel wipe, white wipe-up from the bottom, diagonal wipe |
| 4 blocks | 12 × 7 cells by sweep 0.62 + clump 0.24 + jitter 0.14 | Block wipe (textured families) |
renderOrder 950 as a direct child of the overlay group (whose own order, 900, is what ranks it above onTop() type: three.js sorts by the parent Group's order first), no depth test, never picked.screenPx(object, cam, width, height) gives the on-screen point a flood should start from (the pressed button), and coverRadius() the radius that reaches the farthest corner × 1.05.| Handoff | Scene N | Scene N+1 | Where |
|---|---|---|---|
| Flood becomes object | Disc from the button, 10f inCubic, complete 3f early | Opens in that colour; disc contracts onto the object 13f, then fades as the real object takes over; the object is the only moving thing for 6f after it lands, at ≥ 6% of frame width | cover-layers §2 |
| Iris-in to an object | — | Hole shrinks from the frame to the object's radius over 30f | cover-layers §3 |
| White wipe-up | Wipe, last 8f, ease-in, 40 px feather | Opens white | cover-layers §4 |
| Block wipe | Cells grow out of an on-screen object of the wipe's colour, 18–24f | Starts covered, clears with the same cells; entrance clocks offset +12f (prog(frame + 12, …)) | cover-layers §5 |
| Flash-to-white | Ramp the last 4–8f, ease-in | Decay 6–9f | cover-layers §6 |
| Colour-field push | Panel slides over, 8–23f | Panel slides off; content carries 46 px → 0 over 16f | cover-layers §7 |
| Persisting element | Carrier lands on the handoff pose, no exit | Same factory, same pose on frame 0, then moves in its new role | carries §1 |
| Match-push | Push to the exact crop | Laid out at that crop's scale | three-camera moves §7 |
| Continuous loop | Spin or time from film frame | Same function, same film frame | carries §3 |
| Rush into the lens | Camera to 0.35 from the object, last 14f inCubic, ground to white | Opens white | carries §4 |
| Whip | Content flung out with sub-frame motion blur | Enters from the opposite side at the same speed | carries §5–6 |
| Exit-then-cut | Everything leaves, clear 2–3f early | First element 1–2f after the cut (≤ 4 empty frames in all) | carries §7 |
| Board erase | Strokes un-draw from D − 18 over 10f, 8f blank | Identical blank paper | carries §8 |
| New ground behind the subject (no cut) | The backdrop's uFlood disc grows out of the subject, behind it; environment and key light follow in the same frames; the subject scales or moves | — (one continuous shot) | three-look backdrops-and-finish §7, color-and-light §7 |
three-look, A new ground inside one shot). Without the re-light, a lit object goes dark on the new ground; without a scale change, it reads as a flat wipe.PlaneGeometry(width, pictureHeight) on the overlay); full-frame white over the black bars composites to grey bars.The LightPay handoff, as two scenes sharing one constant. Tested: the last frame of the first scene and the first frame of the second are the same colour to the pixel, and the disc then contracts onto the pill.
// components/handoff.ts
export const FLOOD = "#c8f31d"; // the flood colour IS the next scene's ground
export const PILL_R = 150; // px: the disc lands at the pill's size
// scenes/01-hook.ts (frame callback): the pressed button floods the frame
const f = prog(frame, D - 13, 10, inCubic); // 10f ease-in, complete 3f early
const c = screenPx(button, cam, width, height);
cover.mesh.visible = f > 0;
cover.u.uMode.value = 1;
cover.u.uOpacity.value = 1;
cover.u.uCenter.value.set(c.x, c.y);
cover.u.uRadius.value = f * coverRadius(c.x, c.y, width / 2, height / 2);
// scenes/02-deposit.ts (frame callback): opens inside the flood, contracts into the pill
const k = prog(frame, 0, 13, inOutCubic);
const p = screenPx(pill, cam, width, height);
cover.mesh.visible = frame < 22;
cover.u.uMode.value = 1;
cover.u.uCenter.value.set(lerp(0, p.x, k), lerp(0, p.y, k));
cover.u.uRadius.value = lerp(coverRadius(0, 0, width / 2, height / 2), PILL_R, k);
cover.u.uOpacity.value = 1 - prog(frame, 13, 8, outCubic); // the real pill takes over
Both scenes build cover = coverLayer(width, height, FLOOD) on overlay(scene, cam, height). Sound: a tap on the press that starts the flood (or nothing), an optional soft land or impact one frame after the cut; never a whoosh (sound-design).
| Handoff | Scene N (frames before the cut) | Scene N+1 (frames after) |
|---|---|---|
| Flood becomes object | flood D−13 … D−3, hold | contract 0–13, release 13–21 |
| Persisting element | carrier lands by D−6, others gone by D−8 | carrier moves from 4 for 16–22f |
| Match-push | push D−34 … D−10, hold | settle or creep from 0 |
| Flash-to-white | ramp D−6 … D | decay 0–8 |
| White wipe-up | D−8 … D | opens white |
| Block wipe | D−22 … D−2 | clears 0–20, entrances offset +12f |
| Exit-then-cut | exits D−10 … D−3 | first entrance at 1–2 |
components/handoff.ts: carrier poses, colours, crops, and the film-frame start of every scene (SCENE_START), matching project.json.uSeed.| Need | What | Fallback when it is missing |
|---|---|---|
| Checking each cut | capture-frames on the last frame of N and the first of N+1, side by side | None |
| Measuring a match | ffmpeg to sample the carrier's pixels in both frames of an export | Compare the shared constants by reading both scenes |
| Which handoff, how long, which sound | motion-language, direction, sound-design | — |
capture-frames on the last frame of N and the first of N+1: the carrier matches in position, size, rotation and colour (sample a pixel of floods; the values are identical).components/handoff.ts, imported by both scenes; continuous loops run on film frame and the scene-start table matches project.json.toneMapped: false, pickable = false.signalstats YAVG) on the flash's peak frame and the frames either side: ≥ 50% of range apart. Each flood that contracts into an object: a strip of the 6f after it lands shows nothing else moving.validate passes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub haxzie/genmotion --plugin genmotion35 skills in this plugin
/ad-qaThe pre-ship QA pass for a short-form or social ad, run on captured frames and the exported file: the exact frames to capture, eleven tests with pass criteria and fixes (hook frame, brand timing, mute, safe zones with a drawn overlay, captions, text size and contrast, pacing, CTA and ending, audio and loudness, ad codes, claims), then direction's critique rubric as the ship bar and a short report for the user. Every UGC owner ends here. Load it before telling anyone an ad is finished./ai-presenterPutting a person on screen in an ad when there is no footage: the user's own clip first, or a generated portrait driven by a lipsync model. Covers when not to use a face at all, the lipsync input spec (portrait, audio, neutral mouth), framing and headroom for 9:16, one take length (four seconds), lip-sync tolerance in frames, matching voice to face, the uncanny tells and the edit patterns that hide them, the seek-safe build on each engine, and the line between a synthetic presenter and a fabricated customer. Load it alongside a UGC owner, never instead of one./announce-featureThe 15 to 45 second feature announcement or changelog video, in the manner of Linear, Notion and Slack: what changed, why it matters, show it, where to find it. Covers naming the feature in the first six words, frame-budgeted beat sheets for 15, 20, 30 and 45 seconds with VO word budgets, the cursor, before-and-after and focus-push patterns with house timings, the CTA that points at the toggle, sound per interaction, and recuts for an in-app loop, a changelog embed and a vertical social clip. Load it for one feature or a small set, not a whole-product launch./announce-milestoneFunding rounds, ARR, GitHub stars, user and download counts, acquisitions: one number made to land. Covers what earns a milestone video, the count as the hook from frame 0, a clock that never parks (count capped at 40% of the film, the breath before the land), the subject's own object on the same clock, the 1.06 land punch and confetti, number sizing by width, the gratitude beat with an image, a living end card, the tick-riser-impact sound, and beat sheets for 10, 15, 20 and 30 seconds. Load it when the content is a number going up with no feature to demonstrate./app-store-previewApp Store and Google Play preview videos: up to three 15 to 30 second cuts per locale, each standalone (what it is, the best feature, the payoff). Covers the verified store specs (Apple's 886 x 1920 and 1200 x 1600 sizes, 30 fps cap, H.264 settings, the 5 second poster frame; Play's YouTube link rules), what each store rejects (hands, prices, dates, footage outside the app), muted-first design, native full-screen framing with touch hotspots, frame budgets, export and ffprobe checks. Load it when the ask is a store listing preview, not a general product video./brand-stingThe logo sting, bumper, ident or brand reveal: 2 to 8 seconds, no narration, one mark arriving. Covers the three shapes (build, reveal, transform), the sting energy curve with the hit at 40 to 60 percent, frame budgets for 2, 3, 5 and 8 second stings, mark size and clear space, the landing ease and what may move after lock, house devices with timings, the riser-hit-button-tail sonic logo, loop and overlay variants with an honest note on alpha, and frame-exact checks. Load it for a logo animation, intro or outro bumper, or a stronger closing lockup.