Balance Scale: The Beam Tips. Native 1920×1080, 6.5s at 30fps.
Compares two amounts by weight. Chip stacks grow on two pans of a balance while their values count, then the beam tips toward the heavier side with a damped swing.
Motion. Stacks grow on the same ease-out curve as their numbers (never past the value); the beam swings to its angle with a small overshoot and settles before the hold. Why it moves. change: the tip is the verdict, felt as weight before it is read.
Mount
Copy every manifest file into your project (plus af-tabletop-runtime). Mount with a unique host id, data-composition-id="af-tabletop-balance-scale-16x9", data-composition-src="compositions/af-tabletop-balance-scale-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).
label: {"type":"string","minLength":1,"maxLength":20}title (required): {"type":"string","minLength":1,"maxLength":40}left (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}right (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}prefix: {"type":"string","minLength":1,"maxLength":3}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}
- The tilt is proportional to the difference (up to 9°); equal values stay level.
Style: colourway (cream, kitchen, sky), accent (optional hex), footer, round (e.g. 3/5), exit (lift or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the lamp light drifts slowly over the table; text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.
Example
``json { "label": "Round 4", "title": "After 20 years", "left": "{\"label\":\"Simple interest\",\"value\":2400}", "right": "{\"label\":\"Compound\",\"value\":3870}", "prefix": "£", "unit": "", "decimals": 0 } ``