Whip pan

A fast directional camera move with a clean settle.

0:00 / 0:01

Customize

0
18
26

Installation

pnpm odori add component whip-pan

Edit the source in videos/components/whip-pan/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Motion
Recommended duration
45 frames · 1.5s
Minimum duration
18 frames · 0.6s
Entrance
18 frames
Exit
0 frames
Reduced motion
the content is settled, with no travel and no blur
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
childrenReactNode——
directionWhich way the camera travels."left" | "right" | "up" | "down""left"—
atFrame the pan starts.number0—
durationInFramesFrames the whole move takes, including the settle.number18—
distanceHow far the content overshoots, as a fraction of the frame.number1.15—
blurPeak motion blur in pixels. Zero renders the move clean.number26—

Related components

All components