Paired Result Swap
Use this effect when the requested explanation needs the choreography below. Read references/motion-spec.md before adapting it.
Aspect ratio, resolution and caption safe area
Settle these with the user before the first build and keep them for the whole series.
- Aspect ratio:
--aspect 16:9,9:16,4:3or3:4. Each has its own native layout. With footage, read its size with ffprobe and use its ratio when it is one of the four; otherwise propose the nearest one (the footage is centre-cropped) and ask the user to confirm. Without footage, ask the user to choose. - Resolution: always ask, recommending 4K.
--resolution 4k(default, short side 2160),2k(1440) or1080p(1080): a 4K 9:16 segment is 2160×3840, a 4K 4:3 segment 2880×2160. - Caption safe area: the bottom of the frame is kept free for the creator's subtitles (and the platform's captions and buttons on Shorts, Reels and TikTok). The effect places its text and graphics above it; do not move them into that band.
Inputs
leftLabel(string).rightLabel(string).pairs(imagePair[]).stepCaption(string).
The current references/defaults.json is the complete example input schema. Each pairs entry is [leftImageKey, rightImageKey]. Both members must change at the same time beneath fixed leftLabel and rightLabel. If no image is supplied, the example renders editable document diagrams; provide real images for photographic comparisons. Keep the final stepCaption separate from the pair frames.
Create
- Save caller content as a JSON file.
- Run
node scripts/create.mjs --out ./output --data ./content.json --style white-yellow --aspect 16:9 --resolution 4k. Bundled image defaults are automatic. Add--images images.jsononly for replacements or additional slots; relative paths resolve beside that JSON file. - Inspect the editable output at entry, development, and final hold.
- Render using the command printed by the create script.
The additional styles are charcoal-lime and midnight-ice. Use identical content and animation when comparing the three styles. All styles share the supplied fonts.
Required choreography
- Reveal two equally sized result frames with fixed comparison labels.
- Place the first synchronized image pair into the frames.
- Replace both images together through two or more pairs while preserving alignment and label positions.
- Hold the final pair with an optional persistent step caption.
Verification
Check values against the supplied data, labels against the visible objects, and every terminal state against the brief. Keep at least 1.2 seconds for final reading. Do not clip text or replace the defining motion with a generic fade.
Film-look renovation
Rebuilt the presentation as two large widescreen inspection windows with high-contrast stamped labels and a persistent plain caption. Pair changes are synchronized short cuts, not independent fades. Each pair gets a settled reading slot and the final example holds longer.
Preserve the supplied data schema and reading holds. Render all three palettes with the same content, then inspect every motion handoff.
Three bundled raster pairs demonstrate notes becoming a clear presentation, a planning table becoming a working brief, and research becoming a workshop cover. User images replace the corresponding before/after slots directly.
Typography
Smiley Sans (Deyi Hei) sets titles, copy and labels in every language, Latin and Chinese alike. It is one slanted display weight, so hierarchy comes from size, colour and spacing rather than weight. IBM Plex Mono sets axis ticks, ordinals, counters and small labels so numbers keep a stable width. Noto Sans SC stays behind Smiley Sans for rare Chinese characters; pass --zh-font noto-sans-sc to set Chinese content in Noto Sans SC instead. A supplied --font always wins. build.json records the choice under typography.
Image material contract
Default raster slots: draft-1, draft-2, draft-3, refined-1, refined-2, refined-3. The default generator loads these automatically; user replacements override the named slots. Image values in content may retain a filename suffix, while the image-map key uses its extension-free basename.
Follow the image policy before adapting visual content. Photos, covers, document imagery and chat avatars use actual raster assets. Without user references, reuse the generated defaults in the slot map; do not ask for every image. User-specified images replace the corresponding slots first. Keep typography, vector diagrams, masks and movement editable in HyperFrames. New image subjects require the available image-generation tool (image2 when exposed), with actual provider/model provenance; no silent HTML substitute. Required presenter video and aligned alpha mattes remain separate inputs.
Part of Skillry · CreatorMotion
This skill is a free individual motion effect from CreatorMotion on Skillry.
- Looking for the full CreatorMotion master collection (122+ motion effects, automatic scene selection, and multi-clip assembly)? Explore skillry.dev.
- Connect Skillry MCP or browse all 87 free skills:
npx --yes skillry-cli@latest mcp· github.com/yihui-dev/skillry-skills
