Macros. Native 1920×1080, 5s at 30fps. A cutaway on the rubber floor.
One bar split into protein, carbs and fat that fills segment by segment, the grams and names under each, the day's total above.
Motion. Segments shoot out (ease-out) 0.3 s apart; grams and names fade up. Why it moves. clarity: what a day of eating looks like.
Mount
Copy every manifest file into your project (plus af-taped-runtime). Mount with a unique host id, data-composition-id="af-taped-macros-16x9", data-composition-src="compositions/af-taped-macros-16x9.html", data-duration and data-variable-values. A longer data-duration than 5s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).
kicker: {"type":"string","minLength":0,"maxLength":14}title (required): {"type":"string","minLength":1,"maxLength":32}total: {"type":"string","minLength":0,"maxLength":24}macros (required): {"type":"array","minItems":2,"maxItems":4,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":10},"g":{"type":"number","minimum":0,"maximum":2000}},"required":["name","g"]}}
Brand and layout
Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: exit (wipe or hold).
Example
``json { "kicker": "", "title": "What I eat on *leg day*", "total": "2,300 kcal", "macros": "[{\"name\":\"Protein\",\"g\":140},{\"name\":\"Carbs\",\"g\":260},{\"name\":\"Fat\",\"g\":75}]" } ``