Gummy Stretch: Growth. Native 1920×1080, 6s at 30fps.
Growth from one value to another. A pink gummy bar sits at the old value inside a dashed outline, then stretches to the new value, thinning as it pulls and plumping back; the number rides its end and counts; a multiplier tag (×2.6) slaps on.
Motion. The outline and bar pop; the length grows on an ease in-out curve and never passes the value; the thickness dips while it stretches and recovers; the number counts on the same curve; the tag slaps on. Why it moves. change: the old size stays as a ghost, so the viewer sees how far it grew, not just the new number.
Mount
Copy every manifest file into your project (plus af-gumdrop-runtime). Mount with a unique host id, data-composition-id="af-gumdrop-gummy-stretch-16x9", data-composition-src="compositions/af-gumdrop-gummy-stretch-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).
title (required): {"type":"string","minLength":1,"maxLength":40}from (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}to (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}badge: {"type":"string","minLength":1,"maxLength":12}unit: {"type":"string","minLength":1,"maxLength":6}prefix: {"type":"string","minLength":1,"maxLength":3}decimals: {"type":"integer","minimum":0,"maximum":2}
to.value must be at least from.value. Without badge the tag shows the multiplier (to ÷ from).
Style: colourway (night, cream, grape), accent (optional hex), footer, exit (pop or cut).
Timing
6s. Everything has landed by 3.6s (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 { "title": "Recall after a month", "from": "{\"label\":\"Re-reading\",\"value\":20}", "to": "{\"label\":\"Spaced testing\",\"value\":52}", "unit": "%", "decimals": 0 } ``