Torn Calendar. Native 1920×1080, 6.5s at 30fps.
Count down. A tear-off calendar block drops in; pages are torn off one per number from from down to to (the last number in the lead paint), then a label is typed beside or under it.
Motion. The header and block drop in; each page tears off and falls away with a turn (ease-in), 0.32-0.6 s apart; the note deals in and types on. Why it moves. time: tearing off pages is how a deadline feels.
Mount
Copy every manifest file into your project (plus af-pasteup-runtime). Mount with a unique host id, data-composition-id="af-pasteup-torn-calendar-16x9", data-composition-src="compositions/af-pasteup-torn-calendar-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).
from (required): {"type":"integer","minimum":1,"maximum":99}to: {"type":"integer","minimum":0,"maximum":98}unit: {"type":"string","minLength":0,"maxLength":14}label: {"type":"string","minLength":1,"maxLength":70}
- Up to about 6 pages fit in the build time; the block stops if the count is too long.
Style: colourway (newsprint, night, blush), accent (optional hex for the lead paint), footer, exit (shuffle or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the paint at the page edges drifts at a slow residual rate; text stays still) and every scrap is shuffled off the page in its own direction over the last 0.6 s, leaving the bare page.
Example
``json { "from": 5, "to": 1, "unit": "Days to go", "label": "Five short sessions and it is out the door." } ``