Pop Sort: Into Two Bins. Native 1920×1080, 7.5s at 30fps.
Sorting ideas into two groups. The items appear across the top, then hop one by one into the left or right bin and stack, and each bin's count ticks up.
Motion. Bins draw; items pop in staggered; each makes a short hop and falls into its bin (ease-in: gravity) 0.2–0.35 s apart; counts tick as they land. Why it moves. change: every item visibly goes where it belongs, so the split is earned.
Mount
Copy every manifest file into your project (plus af-toggle-runtime). Mount with a unique host id, data-composition-id="af-toggle-pop-sort-16x9", data-composition-src="compositions/af-toggle-pop-sort-16x9.html", data-duration="7.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":40}binA (required): {"type":"string","minLength":1,"maxLength":14}binB (required): {"type":"string","minLength":1,"maxLength":14}items (required): {"type":"array","minItems":4,"maxItems":8,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"bin":{"type":"string","enum":["a","b"]}},"required":["label","bin"]}}
- Bin A items get the accent outline.
Style: colourway (lime, cobalt, coral), accent (optional hex), footer, ground: dark only, exit (slide or cut).
Timing
7.5s. Everything has landed by 4.5s (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 { "title": "Hook or not?", "binA": "Hook", "binB": "Not a hook", "items": "[{\"label\":\"\\\"Here's the fix\\\"\",\"bin\":\"a\"},{\"label\":\"\\\"Hi guys\\\"\",\"bin\":\"b\"},{\"label\":\"A big number\",\"bin\":\"a\"},{\"label\":\"Logo sting\",\"bin\":\"b\"},{\"label\":\"A bold claim\",\"bin\":\"a\"},{\"label\":\"Long intro\",\"bin\":\"b\"}]" } ``