Dice Odds: Roll the Row. Native 1920×1080, 6.5s at 30fps.
Shows a chance by rolling it. A row of dice tumbles onto the table; the hits (a face at or above the target, in the accent) get a green ring, the misses step back, and the tally ("2 in 6") lands with a line of text.
Motion. Each die bounces in with a spin and flickering faces (seeded), staggered; rings spring round the hits; misses fade to 55%; the tally and text rise. Why it moves. change: watching real rolls makes the odds felt, not just stated.
Mount
Copy every manifest file into your project (plus af-tabletop-runtime). Mount with a unique host id, data-composition-id="af-tabletop-dice-odds-16x9", data-composition-src="compositions/af-tabletop-dice-odds-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":20}title (required): {"type":"string","minLength":1,"maxLength":40}faces (required): {"type":"array","minItems":3,"maxItems":8,"items":{"type":"integer","minimum":1,"maximum":6}}hit: {"type":"integer","minimum":1,"maximum":6}result: {"type":"string","minLength":1,"maxLength":14}text (required): {"type":"string","minLength":1,"maxLength":70}
hit is the lowest face that counts as a hit (default 6). result defaults to "hits in n". These are illustrative rolls, not data.
Style: colourway (cream, kitchen, sky), accent (optional hex), footer, round (e.g. 3/5), exit (lift or cut).
Timing
6.5s. Everything has landed by 3.9s (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": "Picking shares is a dice roll", "faces": "[2,6,4,1,6,3]", "hit": 6, "result": "2 in 6", "text": "big winners in six picks: most of the gain comes from a few" } ``