Before / After: The Plinth That Grows. Native 1920×1080, 7s at 30fps.
The same person, then and now. Left: a slumped figure on a low plinth (before). Right: the same figure whose plinth grows tall as it straightens up and lifts its arms (after). A dashed line divides them; a line of text under each.
Motion. Both plinths emerge low; figures land slumped; at 1.8 s the right plinth grows (ease in-out) carrying its figure up, which straightens and celebrates; labels type on; text rises. Why it moves. change: the growth is the difference, shown on the same body.
Mount
Copy every manifest file into your project (plus af-archetype-runtime). Mount with a unique host id, data-composition-id="af-archetype-before-after-rise-16x9", data-composition-src="compositions/af-archetype-before-after-rise-16x9.html", data-duration="7" 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}beforeLabel (required): {"type":"string","minLength":1,"maxLength":14}afterLabel (required): {"type":"string","minLength":1,"maxLength":14}before: {"type":"string","minLength":1,"maxLength":40}after: {"type":"string","minLength":1,"maxLength":40}
Style: colourway (void, abyss, dusk), accent (optional hex for the tip colour), footer, enter / exit (dark or cut).
Timing
7s. Everything has landed by 4.2s (60%), then the scene holds for reading (figures keep a small idle, ripples spread, text stays still). It fades up out of black and closes to black over the last 0.5 s.
Example
``json { "title": "", "beforeLabel": "Week one", "afterLabel": "Week twelve", "before": "Overthinking every rep", "after": "Training without thinking" } ``