--- title: "Whip Pan Cut" description: "A full-frame whip pan: scene A whips off laterally with capped directional motion blur while scene B enters in the same direction at matched velocity, on a speed-ramp profile with a decelerating catch. Both scenes ride one strip, so seam velocity is exact by construction. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty." --- import { InstallCommand } from "/snippets/install-command.jsx"; import { VariablesExplorer } from "/snippets/variables-explorer.jsx"; ```html whip-pan-cut.html Whip Pan Cut ``` ## Install That writes one file: `compositions/components/whip-pan-cut.html`. ## Paste it into your composition Open `compositions/components/whip-pan-cut.html` and copy what is inside into your own composition. A component has no size or duration of its own. It takes both from the composition you paste it into. ## Variables Every one of these has a default, so the piece works untouched. Set the ones you want to change on the element: | Variable | Default | Accepts | What it does | | --- | --- | --- | --- | | `direction` | `left` | `left`, `right` | Shared travel direction for the outgoing and incoming scenes. | | `whip_at` | `0.25` | 0s to 8s, step 0.05s | Seconds after mount start when the whip begins. | | `accent` | `green` | `green`, `blue`, `violet` | Seam hairline and default after art tint. | | `exit` | `none` | `none`, `fade`, `up` | Optional departure of the landed scene. Default none: it rests until the frame cuts. | Set them with `data-variable-values` on the element that mounts it. These are the defaults, so this behaves exactly like the preview above until you change one: ```html wrap
``` ## Source ```html Whip Pan Cut ``` {/* hf:generated-footer */} Tagged `transition` `whip-pan` `motion-blur` `velocity-match` `speed-ramp` `bridge` `slots`. ## Related topics - [Browse the complete Catalog](/catalog) - [Add assets and Catalog items in Studio](/studio/assets-and-blocks) - [Build a richer composition](/go-further)