Scale of Two: Weighed on the Press. Native 1920×1080, 7s at 30fps.
Weighs two quantities on a printer's balance beam: two heavy wood-type blocks hang on brass rules, their numbers count up, and the beam tips toward the heavier block.
Motion. Fulcrum and beam print; the two blocks drop onto the pans; numbers count up (ease-out, never past their values) while the beam tilts proportionally. Why it moves. change: the physical tilt of the beam and the block size make the difference in weight immediate.
Mount
Copy every manifest file into your project (plus af-galley-runtime). Mount with a unique host id, data-composition-id="af-galley-scale-of-two-16x9", data-composition-src="compositions/af-galley-scale-of-two-16x9.html", data-duration="7" 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}title: {"type":"string","minLength":1,"maxLength":44}left (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"value":{"type":"number","minimum":0,"maximum":10000000}},"required":["label","value"]}right (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"value":{"type":"number","minimum":0,"maximum":10000000}},"required":["label","value"]}prefix: {"type":"string","minLength":1,"maxLength":3}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}
- Values must be 0 or more; equal values keep the beam level.
Style: colourway (newsprint, blueprint, night), accent (optional hex), footer, exit (lift or cut).
Timing
7s. Everything has landed by 4.2s (60%), then the scene holds for reading (a pool of shop light drifts slowly across the sheet; text stays still) and the ink lifts off the sheet over the last 0.5 s, leaving clean paper.
Example
``json { "label": "Seneca on time", "title": "Where a week|really goes", "left": "{\"label\":\"Others' asks\",\"value\":42}", "right": "{\"label\":\"Your choice\",\"value\":14}", "unit": " h", "decimals": 0 } ``