Definition: Term + Candy Smile. Native 1920×1080, 6.5s at 30fps.
Defines a term. The term drops in big, a thick candy smile swings up under it like an underline, a word-type tag slaps on above, a pal beside the term reads it, and the meaning rises line by line.
Motion. Letters fall and squash (0.05 s apart); the smile springs from a tilt to level; the tag slaps on; the pal pops up and its eyes track across the word, then drop to the meaning; meaning lines rise 0.1 s apart. Why it moves. change + character: the smile lands the word as "settled", and the pal reading it models what the viewer should do next.
Mount
Copy every manifest file into your project (plus af-gumdrop-runtime). Mount with a unique host id, data-composition-id="af-gumdrop-definition-16x9", data-composition-src="compositions/af-gumdrop-definition-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).
tag: {"type":"string","minLength":1,"maxLength":24}term (required): {"type":"string","minLength":1,"maxLength":22}meaning (required): {"type":"string","minLength":1,"maxLength":130}
term is one line in 16:9 and up to two lines ("|" to choose the break) in the other sizes. The pal only appears where there is room beside the term.
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 { "tag": "noun", "term": "Spaced repetition", "meaning": "Reviewing something just as you are about to forget it, with longer gaps each time." } ``