Add a graphic transition
make_transitionShapes that cover or reveal the design: circle (rings of colour grow from a point), stripes (tilted bands sweep across), blades (panels slam shut and part) or burst (rays, then a flood). part: out ends fully covered at at + duration; part: in uncovers from 0. It sits on top of everything.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Seconds: when it starts. For `out`, usually the scene's end minus `duration`; for `in`, 0. | |
| name | No | ||
| part | No | ||
| size | No | The scene's size [width, height] (default 1920 x 1080). | |
| angle | No | Stripes: the tilt in degrees (default -18). | |
| count | No | Stripes: how many (default 5); burst: how many rays (default 14). | |
| style | No | ||
| colors | No | The layers of colour, first to last (the last is what the screen is covered by at the cut). Default: a built-in palette. | |
| intent | Yes | One short sentence: what you change and why. Kept in the design history. | |
| origin | No | Where circles and bursts start: [x, y] (default the centre). | |
| page_id | Yes | The page to work on, as returned by create_design. | |
| duration | No | Seconds (default 0.6). |