Big Number: Roundel Count. Native 1920×1080, 6s at 30fps.
One statistic as a large Cinzel numeral counting up in a roundel of pale glass. A ring of 24 accent rim panes lights round with the count, all the way or to the share given by of. The caption sits beside it (16:9) or below.
Motion. The roundel and rim draw; the centre ignites; the number counts up (ease-out, never past the value) while the rim lights travel round with it; the label and caption illuminate. Why it moves. attention: one number, given a whole window, and the ring shows how much of the whole it is.
Mount
Copy every manifest file into your project (plus af-leadlight-runtime). Mount with a unique host id, data-composition-id="af-leadlight-big-number-16x9", data-composition-src="compositions/af-leadlight-big-number-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":36}value (required): {"type":"number","minimum":0,"maximum":10000000}of: {"type":"number","minimum":0.000001,"maximum":10000000}caption (required): {"type":"string","minLength":1,"maxLength":90}prefix: {"type":"string","minLength":1,"maxLength":3}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}
of is optional: with it the rim lights to value/of; without it the whole rim lights.
Style: colourway (daylight, vellum, modern), accent (optional hex), footer, exit (dim or cut).
Timing
6s. Everything has landed by 3.6s (60%), then the scene holds for reading (shafts of light drift slowly across the wall; text stays still) and the light goes out of every piece over the last 0.5 s, leaving the bare wall.
Example
``json { "label": "Ebbinghaus, 1885", "value": 25, "of": 100, "caption": "is what was left six days later, with no review.", "unit": "%", "decimals": 0 } ``