Two Sources. Native 1920×1080, 9s at 30fps.
Two outlets on the same story side by side (stacked on the tall sizes), each with a different line underlined in turn.
Motion. Windows rise 0.25 s apart; the pen underlines source A, then source B. Why it moves. change: two framings of one story, compared line for line.
Mount
Copy every manifest file into your project (plus af-receipts-runtime). Mount with a unique host id, data-composition-id="af-receipts-two-sources-16x9", data-composition-src="compositions/af-receipts-two-sources-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 layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
a (required): {"type":"object","properties":{"outlet":{"type":"string","minLength":0,"maxLength":30},"title":{"type":"string","minLength":0,"maxLength":80},"text":{"type":"string","minLength":1,"maxLength":240},"url":{"type":"string","minLength":0,"maxLength":70},"date":{"type":"string","minLength":0,"maxLength":24}},"required":["text"]}b (required): {"type":"object","properties":{"outlet":{"type":"string","minLength":0,"maxLength":30},"title":{"type":"string","minLength":0,"maxLength":80},"text":{"type":"string","minLength":1,"maxLength":240},"url":{"type":"string","minLength":0,"maxLength":70},"date":{"type":"string","minLength":0,"maxLength":24}},"required":["text"]}cues: start time (s, from the scene start) of each [[quote]], in order; empty = spaced automatically. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8}pace: spoken words per second (default 2.4). {"type":"number","minimum":1,"maximum":6}
- Wrap each quoted run of words in
[[ ]]; set cues from the transcript (when each quote starts) and pace (words per second).
Style: colourway (ember, ink, marker), accent (optional pen hex), mark (underline or highlight), page (paper, cream, night), exit (drop or cut), duration (seconds).
Syncing to the narration
Give cues the second (from the scene start) at which the speaker starts each quote, and pace their speaking rate in words per second; each quoted word then draws its stroke in its own 1/pace slot, so the line keeps time with the voice. Raise duration (and the mount's data-duration) to fit long narration: every reveal must land by 60% of the scene, which leaves the rest as a still, readable hold.
Timing
9s by default. The window rises in the first 0.7 s, the reveals land by 60%, the lamp glow keeps breathing during the hold (text stays still), and with exit: drop the window sinks off the desk over the last 0.45 s.
Example
``json { "a": "{\"outlet\":\"The Northline\",\"title\":\"Firms embrace the shorter week\",\"text\":\"Most firms say [[productivity held or improved]].\",\"url\":\"northline.example\",\"date\":\"Mar 14\"}", "b": "{\"outlet\":\"Ledgerline\",\"title\":\"A mixed picture\",\"text\":\"Smaller firms reported [[more scheduling headaches]].\",\"url\":\"ledgerline.example\",\"date\":\"Mar 16\"}", "cues": "[]", "pace": 2.4 } ``