13 of 50 in the Jotter pack

Cause and Effect: Diagram element for AI agents

A chain of consequences down the page: each line types, the pen draws an arrow down to the next with a handwritten link word ("so", "which means"), and the last effect is set bold..

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

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

Paste this into Claude Code

Use the AgentFrames Jotter pack. Add a `causeEffect` beat to plan.json on a `daylight` canvas with slots `title`, `tags`, `chain`, `links` and `cues` 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: the note title (types on first); up to 2 lines. Markup: **bold**, ==yellow==, ++green++, ~~struck~~, __pen underline__. {"type":"string","minLength":1,"maxLength":44}.Skip the review and…
tagsstringtags: #tags under the title (the first is the accent tag), e.g. ["step 3 of 5", "productivity"]. JSON string. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3}.[]
chainstringchain: cause first, final effect last. JSON string. {"type":"array","items":{"type":"string","minLength":2,"maxLength":80},"minItems":2,"maxItems":5}.["Nothing gets looked at on Friday","Monday starts with the inbox","The big work slides another week","==You feel busy but stuck=="]
linksstringlinks: handwritten link words between lines (default "so"). JSON string. {"type":"array","items":{"type":"string","minLength":1,"maxLength":14},"minItems":0,"maxItems":4}.["so","so","which means"]
cuesstringcues: start time (s, from the scene start) of each item, in order; empty = typed one after another. JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":45},"maxItems":8}.[]

What your agent can change

Cause and Effect. Native 1920×1080, 10s at 30fps.

A chain of consequences down the page: each line types, the pen draws an arrow down to the next with a handwritten link word ("so", "which means"), and the last effect is set bold.

Motion. Line types; arrow draws down; the link word inks in; next line types. Why it moves. consequence: each arrow is the "so" between two facts.

Mount

Copy every manifest file into your project (plus af-jotter-runtime). Mount with a unique host id, data-composition-id="af-jotter-cause-effect-16x9", data-composition-src="compositions/af-jotter-cause-effect-16x9.html", data-duration 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 note before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

  • title: the note title (types on first); up to 2 lines. Markup: bold, ==yellow==, ++green++, ~~struck~~, __pen underline__. {"type":"string","minLength":1,"maxLength":44}
  • tags: #tags under the title (the first is the accent tag), e.g. ["step 3 of 5", "productivity"]. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3}
  • chain (required): cause first, final effect last. {"type":"array","items":{"type":"string","minLength":2,"maxLength":80},"minItems":2,"maxItems":5}
  • links: handwritten link words between lines (default "so"). {"type":"array","items":{"type":"string","minLength":1,"maxLength":14},"minItems":0,"maxItems":4}
  • cues: start time (s, from the scene start) of each item, in order; empty = typed one after another. {"type":"array","items":{"type":"number","minimum":0,"maximum":45},"maxItems":8}
  • Text slots take bold, ==yellow highlighter==, ++green highlighter++, ~~struck~~ and __pen underline__; marks land after their words are typed.

Style: colourway (daylight, dark, tinted), accent (optional hex for ticks, tags and the pen), app (menu-bar name), series (16:9 folder), stamp (the date line), clock, intro (none or open), exit (clear or cut), duration (seconds).

Syncing to the narration

Typing runs at a readable pace and speeds up (up to 2.2×) if a scene would otherwise land late. Lists take cues (where offered): the second, from the scene start, at which each item should start typing, taken from your transcript. Raise duration (and the mount's data-duration) to fit long narration: everything lands by 60% of the scene, which leaves the rest as a readable hold while the caret blinks.

Timing

10s by default. The note starts empty and its content types on from about 0.3 s; reveals land by 60%; with exit: clear the content lifts away over the last 0.45 s, leaving the empty note for the next scene.

Example

``json { "title": "Skip the review and…", "tags": "[]", "chain": "[\"Nothing gets looked at on Friday\",\"Monday starts with the inbox\",\"The big work slides another week\",\"==You feel busy but stuck==\"]", "links": "[\"so\",\"so\",\"which means\"]", "cues": "[]" } ``

FAQ

What can my AI agent change in Cause and Effect?

Your agent fills the title, tags, chain, links and cues 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 Jotter look.

Which aspect ratios does Cause and Effect support?

Cause and Effect is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 10s.

How do I get Cause and Effect?

Cause and Effect is included in the Jotter 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 Jotter pack

Cause and Effect comes as part of Jotter: 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 →

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

More in Jotter

See all 50 elements in Jotter →