Definition: Term = Meaning. Native 1920×1080, 8s at 30fps.
Defines a term. The term is written big and boxed with one marker stroke, an equals sign (16:9) or a down arrow (the other sizes) is drawn, and the meaning is written in the smaller hand beside or below it.
Motion. Tag written in blue; term written in capitals; the box drawn round it in one continuous stroke; the = (or arrow) drawn; the meaning written line by line at the smaller hand's quicker pace. Why it moves. change: boxing the word and drawing "=" turns a label into a thing with a meaning, in the order a teacher writes it.
Mount
Copy every manifest file into your project (plus af-squeak-runtime). Mount with a unique host id, data-composition-id="af-squeak-definition-16x9", data-composition-src="compositions/af-squeak-definition-16x9.html", data-duration="8" 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: {"type":"string","minLength":1,"maxLength":50}tag: {"type":"string","minLength":1,"maxLength":16}term (required): {"type":"string","minLength":1,"maxLength":22}meaning (required): {"type":"string","minLength":1,"maxLength":150}
title: optional heading, Markup: plain words are written in black, _words_ in the key green (underlined, or circled in the hook), *words* in the blue. "|" forces a line break. Titles are written in capitals.term: max 2 lines in the box.meaning: written in the smaller mixed-case hand; max 5 lines in 16:9 and 1:1, 6 in 4:5, 7 in 9:16.
Style: colourway (classic, glass, grid), accent (optional hex for the key marker), footer, sound (on, off), volume (0-1, default 0.8), enter and exit (pan, hold or flip).
Sound
Every stroke makes its marker sound (writing scratches, line strokes, the circle squeak, the tick, taps), booked from the same schedule that draws it, so edited content stays in sync. The clips come from assets/af-squeak/sfx/ (synthesised, no recordings). sound: "off" makes the block silent; volume scales every clip.
Timing
8s. Everything has been drawn by 4.8s (60%), then the scene holds for reading (the board's gloss drifts, the writing stays still). Longer content is written faster (up to 2.5x); content that still would not finish stops the block with a message. The board slides in from the right over the first 0.62 s and, with exit "pan", slides out to the left over the last 0.62 s at the same speed, so scenes laid end to end read as one long board.
Example
``json { "title": "", "tag": "Definition", "term": "Referral", "meaning": "A customer sends you a new customer, because they trust you and they like what you did for them." } ``