Pictogram: Dots Switch On. Native 1920×1080, 6.5s at 30fps.
A ratio as a grid of dots ("1 in 4"). The outline dots appear, then value of them fill with the accent one after another; the ratio types on in big caps with its label.
Motion. Dots fade in across the grid; the counted dots fill in order (fast, up to 1.2 s); ratio caps type on; label rises. Why it moves. change: counting the filled dots makes the ratio concrete.
Mount
Copy every manifest file into your project (plus af-toggle-runtime). Mount with a unique host id, data-composition-id="af-toggle-pictogram-ratio-16x9", data-composition-src="compositions/af-toggle-pictogram-ratio-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).
value (required): {"type":"integer","minimum":0,"maximum":100}total (required): {"type":"integer","minimum":2,"maximum":100}big: {"type":"string","minLength":1,"maxLength":16}label (required): {"type":"string","minLength":1,"maxLength":80}
- Whole dots only:
value of total dots fill (no rounding). big defaults to "<value> in <total>".
Style: colourway (lime, cobalt, coral), accent (optional hex), footer, ground: dark only, exit (slide or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the grid and the faint rings slow to a residual drift, text stays still) and slides out to the left in a motion blur over the last 0.5 s, leaving the empty ground.
Example
``json { "value": 1, "total": 4, "big": "1 in 4", "label": "viewers decide to stay in the first three seconds." } ``