
Definition: Prompt and Answer
Define a term the way people now look things up: typed into a prompt, sent, answered.
- 1:1native
- 16:9native
- 9:16native
- 4:5native
6 of 50 in the Clay & Ink: Explainer pack
Present a choice and what each option leads to; the cursor picks one and its branch lights up..
Watermarked preview. The Clay & Ink: Explainer pack includes all 50 elements, clean and editable, in every size.
Use the AgentFrames Clay & Ink: Explainer pack. Add a `decisionTree` beat to plan.json on a `paper` canvas with slots `question`, `options` and `pick` from my script. Then run validate → build → qa and show me qa/contact.jpg.The slots your agent fills from your script, through plan.json.
| Slot | Type | What it holds | Example |
|---|---|---|---|
question | string | question: {"type":"string","minLength":1,"maxLength":70}. | Want me to build your Monday briefing? |
options | string | options: JSON string. {"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":26},"tag":{"type":"string","minLength":0,"maxLength":14},"outcome":{"type":"string","minLength":1,"maxLength":70}},"required":["label","outcome"]},"minItems":2,"maxItems":3}. | [{"label":"Set it up","tag":"Suggested","outcome":"A briefing lands every Monday at 8:00, ready before your first call."},{"label":"Maybe later","tag":"","outcome":"Nothing changes. You can ask again any time."},{"label":"Show me first","tag":"","outcome":"You get a one-off sample briefing to review."}] |
pick | number | pick: {"type":"integer","minimum":0,"maximum":2}. | 0 |
Present a choice and what each option leads to; the cursor picks one and its branch lights up.
Native 1920x1080, 9 s at 30 fps. Full-frame graphics block; use the variant that matches your project size. Motion: attention: the cursor makes the choice; change: every option branches to a distinct outcome, the picked one solid.
Set per-instance values in the host mount's data-variable-values (nested values are JSON strings). The block validates every value before it draws and throws a readable error naming the slot (see the console / data-cie-error on the root) instead of silently trimming or shrinking content.
question (required): {"type":"string","minLength":1,"maxLength":70}options (required): JSON string; {"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":26},"tag":{"type":"string","minLength":0,"maxLength":14},"outcome":{"type":"string","minLength":1,"maxLength":70}},"required":["label","outcome"]},"minItems":2,"maxItems":3}pick (required): {"type":"integer","minimum":0,"maximum":2}options: 2 or 3 {label, tag (optional, shown in brackets), outcome}. pick: zero-based index of the chosen option. 16:9 lists rows with outcomes to the right; the other sizes draw a top-down tree.
Style (from brand.json): colourway (paper, dusk, night), accent (hex), brandName (wordmark text), mark (spark, dot, none, or an inline base64 image).
Content settles by 60% of the block (5.4 s) and holds for reading; the last 0.45 s draws out. To give longer copy more time, raise the block's data-duration and the mount's data-duration together; the engine's checks use the duration you set.
``html <div id="scene-1" data-composition-id="af-clay-ink-explainer-decision-tree-16x9" data-composition-src="compositions/af-clay-ink-explainer-decision-tree-16x9.html" data-start="0" data-duration="9" data-width="1920" data-height="1080" data-track-index="0" data-variable-values='{"question":"Want me to build your Monday briefing?","options":"[{\"label\":\"Set it up\",\"tag\":\"Suggested\",\"outcome\":\"A briefing lands every Monday at 8:00, ready before your first call.\"},{\"label\":\"Maybe later\",\"tag\":\"\",\"outcome\":\"Nothing changes. You can ask again any time.\"},{\"label\":\"Show me first\",\"tag\":\"\",\"outcome\":\"You get a one-off sample briefing to review.\"}]","pick":0}'></div> ``
Source: editable HTML; shared runtime assets/af-clay-ink-explainer/cie.js (component af-clay-ink-explainer-runtime). Fonts are OFL; logos and the spark are third-party marks (see TRADEMARKS.md).
Your agent fills the question, options and pick 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 Clay & Ink: Explainer look.
Decision Tree: Choice Card is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 9s.
Decision Tree: Choice Card is included in the Clay & Ink: Explainer 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
Decision Tree: Choice Card comes as part of Clay & Ink: Explainer: 50 elements, 12 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.

Define a term the way people now look things up: typed into a prompt, sent, answered.

Show a sequence the way an agent runs it: each step spins, then resolves to its result.

Explain a loop that repeats: a clay traveller moves clockwise, lighting each stage.

Show how several sources connect to one centre; each spoke draws in and its tile flips to connected.
Community: coming soon · Markdown version of this page