Gumball Pick: Tip of the Day. Native 1920×1080, 6.5s at 30fps.
Delivers one tip like a prize. A gumball machine full of candy pops in, its handle turns once, a pink gumball drops out of the chute, bounces across and opens into the tip card with a burst.
Motion. The machine springs in; the handle turns 360° (ease in-out); the ball arcs out and rolls (rotation follows travel); it swells and the card springs open from it; candy bits burst once. Why it moves. character: the machine turns advice into a little reward, so the tip lands as something the viewer "won".
Mount
Copy every manifest file into your project (plus af-gumdrop-runtime). Mount with a unique host id, data-composition-id="af-gumdrop-gumball-16x9", data-composition-src="compositions/af-gumdrop-gumball-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":22}text (required): {"type":"string","minLength":1,"maxLength":80}
- 16:9 puts the machine on the left and the card on the right; the other sizes put the card below.
Style: colourway (night, cream, grape), accent (optional hex), footer, exit (pop or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the small candy shapes in the margins bob at a residual drift, text stays still) and every piece pops away over the last 0.5 s, leaving the empty ground.
Example
``json { "label": "Tip of the day", "text": "Explain it to a rubber duck. If you get stuck, that is the bit to review." } ``