Phone Flip (transition, overlay). Native 1920×1080, 1s at 30fps. Transparent overlay: mount it on a track above a host scene.
A phone, face down, rises out of the frame centre and fills it, then flips away on its edge to reveal the next scene.
Motion. Phone scales up and straightens (ease in-out) to cover; flips 90 degrees on Y (ease in-out) to reveal. Why it moves. continuity: turning the phone over is turning the page.
Mount
Copy every manifest file into your project (plus af-small-hours-runtime). Mount with a unique host id, data-composition-id="af-small-hours-phone-flip-16x9", data-composition-src="compositions/af-small-hours-phone-flip-16x9.html", data-duration="1" 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).
- Full cover runs from 0.46 s to 0.66 s; start it 0.5 s before the cut and set the outgoing scene's
exit and the incoming scene's enter to cut.
Style: colourway, accent.
Timing
1s. Everything has landed by 0.6s (60%), then the scene holds for reading (dust slows to a residual drift, the moonlight breathes, text stays still).
Example
``json {} ``