Legend (overlay): Key in a Corner. Native 1920×1080, 4s at 30fps. Transparent overlay: mount it on a track above a host scene.
A key for the marks in any Afterglow scene: a small card lands in a corner and its rows (orb, ring, dot or line swatch + label) rise in order. Transparent; mount it on a track above the host scene.
Motion. Card rises; rows rise 0.45 s apart; fades out over the last 0.4 s. Why it moves. attention: tells the viewer what the marks mean before they read the chart.
Mount
Copy every manifest file into your project (plus af-afterglow-runtime). Mount with a unique host id, data-composition-id="af-afterglow-legend-16x9", data-composition-src="compositions/af-afterglow-legend-16x9.html", data-duration="4" 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).
corner: {"type":"string","enum":["top-left","top-right","bottom-left","bottom-right"]}items (required): {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"mark":{"type":"string","enum":["orb","ring","dot","line"]},"label":{"type":"string","minLength":1,"maxLength":28}},"required":["label"]}}
Style: colourway, accent.
Timing
4s. Everything has landed by 2.4s (60%), then the scene holds for reading (bubbles slow to a residual drift, the glow breathes, text stays still).
Example
``json { "corner": "top-right", "items": "[{\"mark\":\"orb\",\"label\":\"Days you started\"},{\"mark\":\"ring\",\"label\":\"Days you waited\"}]" } ``