Comparison: Two Proofs. Native 1920×1080, 6.5s at 30fps.
Two alternatives compared on the same basis: two proofs side by side, each headed in Ultra (one ink, one red) with a heavy rule; each row is pulled across both; the better one gets a red rubber stamp.
Motion. Heads and rules print; each row label is typed, then its two answers print a beat apart; the stamp comes down (impact: ease-in) and presses. Why it moves. change: the same rows on both proofs keep it fair, and the stamp is the verdict.
Mount
Copy every manifest file into your project (plus af-galley-runtime). Mount with a unique host id, data-composition-id="af-galley-comparison-16x9", data-composition-src="compositions/af-galley-comparison-16x9.html", data-duration="6.5" 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).
label: {"type":"string","minLength":1,"maxLength":34}title: {"type":"string","minLength":1,"maxLength":40}leftLabel (required): {"type":"string","minLength":1,"maxLength":14}rightLabel (required): {"type":"string","minLength":1,"maxLength":14}rows (required): {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":20},"left":{"type":"string","minLength":1,"maxLength":32},"right":{"type":"string","minLength":1,"maxLength":32}},"required":["label","left","right"]}}pick: {"type":"string","enum":["left","right","none"]}stamp: {"type":"string","minLength":1,"maxLength":10}
- 16:9 puts the row labels in the gutter; the vertical sizes type each label above its two answers.
Style: colourway (newsprint, blueprint, night), accent (optional hex), footer, exit (lift or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (a pool of shop light drifts slowly across the sheet; text stays still) and the ink lifts off the sheet over the last 0.5 s, leaving clean paper.
Example
``json { "label": "Idea 1 of 3", "title": "Up to you, or not?", "leftLabel": "Up to you", "rightLabel": "Not", "rows": "[{\"label\":\"At work\",\"left\":\"Your effort\",\"right\":\"Your boss's mood\"},{\"label\":\"In a row\",\"left\":\"Your reply\",\"right\":\"Their opinion\"},{\"label\":\"Every day\",\"left\":\"Your habits\",\"right\":\"The traffic\"}]", "pick": "left", "stamp": "Focus" } ``