Coin Flip: 50/50. Native 1920×1080, 6s at 30fps.
A pure chance. A chip spins up into the air and comes down heads or tails; the two outcome cards sit either side (16:9) or below, and the losing side steps back.
Motion. The chip rises on an arc while it turns over and over (scale Y through zero, the face swapping each half turn), its shadow shrinking; it lands with a squash; the other card fades to 50%. Why it moves. character: a coin flip is the clearest picture of "it could go either way".
Mount
Copy every manifest file into your project (plus af-tabletop-runtime). Mount with a unique host id, data-composition-id="af-tabletop-coin-flip-16x9", data-composition-src="compositions/af-tabletop-coin-flip-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).
label: {"type":"string","minLength":1,"maxLength":20}title (required): {"type":"string","minLength":1,"maxLength":40}heads (required): {"type":"string","minLength":1,"maxLength":60}tails (required): {"type":"string","minLength":1,"maxLength":60}result (required): {"type":"string","enum":["heads","tails"]}
- The coin shows H and T on the red and blue faces.
Style: colourway (cream, kitchen, sky), accent (optional hex), footer, round (e.g. 3/5), exit (lift or cut).
Timing
6s. Everything has landed by 3.6s (60%), then the scene holds for reading (the lamp light drifts slowly over the table; text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.
Example
``json { "label": "Round 3", "title": "Timing the market", "heads": "Prices go up after you buy", "tails": "Prices go down after you buy", "result": "heads" } ``