Progress: Tape and Paint. Native 1920×1080, 6.5s at 30fps.
Progress towards a goal. A strip of masking tape is laid across the page and dry-brush paint fills it to the value while the big typed percentage counts up on the same curve and rides the paint; an optional marker arrow marks the goal.
Motion. The tape slides in and presses flat; the paint fills left to right (ease-out, never past the value) and the number counts with it; the goal arrow draws; the label note deals up and types on. Why it moves. change: the fill is the progress, and the number travelling with it keeps them honest.
Mount
Copy every manifest file into your project (plus af-pasteup-runtime). Mount with a unique host id, data-composition-id="af-pasteup-progress-target-16x9", data-composition-src="compositions/af-pasteup-progress-target-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).
title (required): {"type":"string","minLength":1,"maxLength":36}value (required): {"type":"number","minimum":0,"maximum":100}goal: {"type":"number","minimum":0,"maximum":100}goalLabel: {"type":"string","minLength":1,"maxLength":24}decimals: {"type":"integer","minimum":0,"maximum":1}label: {"type":"string","minLength":1,"maxLength":70}
value and goal are percentages (0-100).
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 { "title": "Your project so far", "value": 64, "goal": 80, "goalLabel": "Ship at 80%", "decimals": 0, "label": "Most of the work is done. The rest is polish." } ``