11 of 50 in the Paste-Up pack

Shuffle Deck: Diagram element for AI agents

Signature device. Three to six ideas as photo cards: the deck drops onto the page, riffles (the two halves split, lift and interleave back), then is dealt out one card at a time into a spread where every card can be read..

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

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

Paste this into Claude Code

Use the AgentFrames Paste-Up pack. Add a `shuffleDeck` beat to plan.json on a `newsprint` canvas with slots `title` and `items` 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
titlestringtitle: {"type":"string","minLength":1,"maxLength":40}.What kills a project
itemsstringitems: JSON string. {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":24},"object":{"type":"string","enum":["eye","tower","mountain","wave","books","hand","bulb","clock","plane","key","cup","megaphone","phone","plant","stairs","lens","face-a","face-b","flower-pink","flower-orange","flower-white","flower-yellow"]}},"required":["label"]}}.[{"label":"Waiting for the mood","object":"clock"},{"label":"A shiny new idea","object":"bulb"},{"label":"Polishing too early","object":"lens"},{"label":"Telling nobody","object":"phone"}]

What your agent can change

Shuffle Deck (signature device). Native 1920×1080, 9s at 30fps.

Signature device. Three to six ideas as photo cards: the deck drops onto the page, riffles (the two halves split, lift and interleave back), then is dealt out one card at a time into a spread where every card can be read.

Motion. The deck falls in from above as one stack (cards 0.03 s apart, lifted); the riffle splits the halves left and right with a lift and a turn and closes them again (ease in-out, 0.85 s); each card is dealt from the deck to its slot on an arc and pressed flat (0.4-0.6 s apart). Why it moves. character + change: the cards literally shuffle in and out of view, then the deal turns a pile of ideas into a list you can read.

Mount

Copy every manifest file into your project (plus af-pasteup-runtime). Mount with a unique host id, data-composition-id="af-pasteup-shuffle-deck-16x9", data-composition-src="compositions/af-pasteup-shuffle-deck-16x9.html", data-duration="9" 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).

  • title (required): {"type":"string","minLength":1,"maxLength":40}
  • items (required): {"type":"array","minItems":3,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":24},"object":{"type":"string","enum":["eye","tower","mountain","wave","books","hand","bulb","clock","plane","key","cup","megaphone","phone","plant","stairs","lens","face-a","face-b","flower-pink","flower-orange","flower-white","flower-yellow"]}},"required":["label"]}}
  • 16:9 deals one row; 9:16 deals two columns; 4:5 and 1:1 deal rows of three.
  • object picks one of the bundled photo cut-outs: eye, tower, mountain, wave, books, hand, bulb, clock, plane, key, cup, megaphone, phone, plant, stairs, lens, face-a, face-b, flower-pink, flower-orange, flower-white, flower-yellow.

Style: colourway (newsprint, night, blush), accent (optional hex for the lead paint), footer, exit (shuffle or cut).

Timing

9s. Everything has landed by 5.4s (60%), then the scene holds for reading (the paint at the page edges drifts at a slow residual rate; text stays still) and every scrap is shuffled off the page in its own direction over the last 0.6 s, leaving the bare page.

Example

``json { "title": "What kills a project", "items": "[{\"label\":\"Waiting for the mood\",\"object\":\"clock\"},{\"label\":\"A shiny new idea\",\"object\":\"bulb\"},{\"label\":\"Polishing too early\",\"object\":\"lens\"},{\"label\":\"Telling nobody\",\"object\":\"phone\"}]" } ``

FAQ

What can my AI agent change in Shuffle Deck?

Your agent fills the title and items 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 Paste-Up look.

Which aspect ratios does Shuffle Deck support?

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

How do I get Shuffle Deck?

Shuffle Deck is included in the Paste-Up 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 Paste-Up pack

Shuffle Deck comes as part of Paste-Up: 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) · 66s · made entirely with this pack

More in Paste-Up

See all 50 elements in Paste-Up →