Cause and Effect: The Dot Carries It. Native 1920×1080, 6s at 30fps.
A leads to B: the cause pill lands, an arrow draws as the white dot travels along it, and the effect pill ignites on arrival. Left to right on 16:9, top to bottom on the other sizes.
Motion. Cause pill fades up; arrow draws with the dot riding its head (ease in-out); effect pops (overshoot) and lights. Why it moves. change: the dot travelling is the causal link.
Mount
Copy every manifest file into your project (plus af-afterglow-runtime). Mount with a unique host id, data-composition-id="af-afterglow-cause-effect-16x9", data-composition-src="compositions/af-afterglow-cause-effect-16x9.html", data-duration="6" 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: {"type":"string","minLength":1,"maxLength":44}cause (required): {"type":"string","minLength":1,"maxLength":26}effect (required): {"type":"string","minLength":1,"maxLength":26}because: {"type":"string","minLength":1,"maxLength":50}causeLabel: {"type":"string","minLength":1,"maxLength":12}effectLabel: {"type":"string","minLength":1,"maxLength":12}
Style: colourway (rose, ultraviolet, ember), accent (optional hex), footer, enter / exit (glow or cut).
Timing
6s. Everything has landed by 3.6s (60%), then the scene holds for reading (bubbles slow to a residual drift, the glow breathes, text stays still) and glows out over the last 0.55 s (elements lift away, the orb fills the frame).
Example
``json { "title": "Why starting small works", "cause": "Ten easy minutes", "effect": "Real momentum", "because": "Finishing something small proves you can", "causeLabel": "cause", "effectLabel": "effect" } ``