Versus: Grey vs Gilt Columns. Native 1920×1080, 7s at 30fps.
Two options compared row by row on the same basis. Two glass columns rise with gilt headers, matched rows arrive in pairs, then the winning column gains a gold edge and its header glints while the other fades to grey.
Motion. The centre hairline draws; panels fade up; headers resolve; each pair of rows rises (the right 0.12 s after the left); the winner warms and glints; the loser desaturates. Why it moves. change: the same rows sit side by side, and warm versus grey says which side wins.
Mount
Copy every manifest file into your project (plus af-gilt-runtime). Mount with a unique host id, data-composition-id="af-gilt-versus-16x9", data-composition-src="compositions/af-gilt-versus-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":40}leftLabel (required): {"type":"string","minLength":1,"maxLength":16}rightLabel (required): {"type":"string","minLength":1,"maxLength":16}rows (required): {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"left":{"type":"string","minLength":1,"maxLength":36},"right":{"type":"string","minLength":1,"maxLength":36}},"required":["left","right"]}}winner: {"type":"string","enum":["left","right","none"]}
- The columns stay side by side in every size so each row compares like with like.
Style: colourway (gold, copper, platinum), accent (optional hex), footer, ground: night only, exit (dissolve or cut).
Timing
7s. Everything has landed by 4.2s (60%), then the scene holds for reading (the light beams slow to a residual drift and the glow breathes; text stays still) and dissolves (blur + fade) over the last 0.5 s, leaving the empty ground.
Example
``json { "title": "Multitasking vs one task", "leftLabel": "Multitasking", "rightLabel": "One task", "rows": "[{\"left\":\"Feels busy\",\"right\":\"Feels calm\"},{\"left\":\"Shallow progress\",\"right\":\"Real progress\"},{\"left\":\"Tired by noon\",\"right\":\"Energy left over\"}]", "winner": "right" } ``