Definition: Type Specimen. Native 1920×1080, 6.5s at 30fps.
Defines a term as a type specimen: the slug prints with the part of speech in red, the term is pulled big in Ultra, a rule prints under it, and the meaning is typed below line by line.
Motion. Slug and term print in one hit each (ink squash); the rule prints; the meaning lines are typed on 0.13 s apart. Why it moves. change: the word is printed as a specimen, then its meaning is set beside it like a dictionary proof.
Mount
Copy every manifest file into your project (plus af-galley-runtime). Mount with a unique host id, data-composition-id="af-galley-definition-16x9", data-composition-src="compositions/af-galley-definition-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).
tag: {"type":"string","minLength":1,"maxLength":34}kind: {"type":"string","minLength":1,"maxLength":16}term (required): {"type":"string","minLength":1,"maxLength":30}meaning (required): {"type":"string","minLength":1,"maxLength":150}
term is up to 2 lines ("|" between them).
Style: colourway (newsprint, blueprint, night), accent (optional hex), footer, exit (lift or cut).
Timing
6.5s. Everything has landed by 3.9s (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 { "tag": "Stoic Notes", "kind": "noun", "term": "Stoicism", "meaning": "A Greek and Roman philosophy: you cannot choose what happens, only how you respond." } ``