diff --git a/jobs/compose.mdx b/jobs/compose.mdx index e93fd46..f2f154c 100644 --- a/jobs/compose.mdx +++ b/jobs/compose.mdx @@ -340,12 +340,23 @@ Every clip has `asset`, `start`, `length`, plus any of: ### Transitions -A track item `{ "type": "transition", "transition": , "duration": , "direction"?: }`: +Place between two clips on a track: `{ "type": "transition", "transition": , "duration": , "direction"?: }`. -`crossfade`, `fade`, `slide` (`direction`: `left` / `right` / `up` / `down`), `zoom`, `none` (hard cut). + + A dissolves directly into B. + A dips through black, then B fades up. + B slides in from an edge. Set `direction`: left, right, up, or down. + B grows in from the center. + Hard cut, no blend. + ### Text style Fields on a text asset's `style`: -`font`, `size`, `weight` (100..1000), `color`, `align` (`left` / `center` / `right`), `position {x,y}`, `stroke {color,width}`, `background`, `shadow {color,opacity,offsetX,offsetY}`, `animate {type: fade \| slideUp \| slideDown \| slideLeft \| slideRight, duration}`. + + `font`, `size`, `weight` (100..1000), `color`, `align` (left, center, right) + `position` as `{ x, y }` percent strings + `stroke {color,width}`, `background`, `shadow {color,opacity,offsetX,offsetY}` + `animate {type, duration}`, where `type` is fade, slideUp, slideDown, slideLeft, or slideRight +