32 of 50 in the Shuffle pack

Card Zoom: Transition element for AI agents

Signature transition. A picture card grows from a chip into the full frame, holds across the cut, then flips up and away to reveal the next scene. Transparent; mount it on a track above the cut, starting 0.55 s before it..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Shuffle pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Shuffle pack. Add a `cardZoom` beat to plan.json on a `cobalt` canvas with slots `img`, `colour`, `x` and `y` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
imgstringimg: {"type":"string","minLength":1,"maxLength":300}.3
colourenumcolour: {"type":"string","enum":["accent","ink","paper"]}.accent
xnumberx: {"type":"number","minimum":0,"maximum":100}.50
ynumbery: {"type":"number","minimum":0,"maximum":100}.50

What your agent can change

Card Zoom (signature transition, overlay). Native 1920×1080, 1s at 30fps. Transparent overlay: mount it on a track above a host scene.

Signature transition. A picture card grows from a chip into the full frame, holds across the cut, then flips up and away to reveal the next scene. Transparent; mount it on a track above the cut, starting 0.55 s before it.

Motion. The card grows from a chip at (x, y) to cover the frame by 0.5 s (ease in-out; corners square off, the picture eases out of a zoom); it covers the cut from 0.5 s to 0.62 s, then swings up over its top edge towards the viewer (ease-in) and fades. Why it moves. continuity: the pack's picture card becomes the doorway, so a change of ground or chapter reads as opening the next card.

Mount

Copy every manifest file into your project (plus af-shuffle-runtime). Mount with a unique host id, data-composition-id="af-shuffle-card-zoom-16x9", data-composition-src="compositions/af-shuffle-card-zoom-16x9.html", data-duration="1" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

Content slots

Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

  • img: {"type":"string","minLength":1,"maxLength":300}
  • colour: {"type":"string","enum":["accent","ink","paper"]}
  • x: {"type":"number","minimum":0,"maximum":100}
  • y: {"type":"number","minimum":0,"maximum":100}
  • Full cover runs from 0.5 s to 0.62 s; start the zoom 0.55 s before the cut and set the outgoing scene's exit to cut.
  • img empty uses the solid colour.
  • Picture slots take "1"-"16" (the bundled picture library, see docs/PICTURES.md) or a project-relative path to your own .jpg/.png/.webp (e.g. "assets/my/photo.jpg"). Pictures are cropped to fill their card (object-fit: cover).

Style: colourway, accent.

Timing

1s. Everything has landed by 0.6s (60%), then the scene holds for reading (the dot grid and the pictures inside their cards drift at a slow residual rate; text stays still).

Example

``json { "img": "3", "colour": "accent", "x": 50, "y": 50 } ``

FAQ

What can my AI agent change in Card Zoom?

Your agent fills the img, colour, x and y slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Shuffle look.

Which aspect ratios does Card Zoom support?

Card Zoom is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 1s.

How do I get Card Zoom?

Card Zoom is included in the Shuffle pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 50

Get the full Shuffle pack

Card Zoom comes as part of Shuffle: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 63s · made entirely with this pack

More in Shuffle

See all 50 elements in Shuffle →