Camera · whip-pan
Whip pan
The camera whips sideways to the next picture: expo-fast slide, directional motion blur, speed streaks, a settle.
A free, MIT-licensed camera effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Whip pan is for
Energetic cuts between product shots, locations, slides or portfolio images; a swish-pan transition inside one clip; travel and event recaps.
Details
- Category
- Camera moves & lens effects
- Length
- 5.0 s (150 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
labels- Colour props
paletteinkaccent- Image props
images- Mood
- photo
- Roles
- subject
Use Whip pan in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add whip-pan --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render whip-pan --props '{"labels":[],"palette":["#ff7a59","#6a4cff","#14b8a6","#ffd166"],"ink":"#ffffff","accent":"#ffffff","images":[]}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export whip-pan --as mp4 --props '{"labels":[],"palette":["#ff7a59","#6a4cff","#14b8a6","#ffd166"],"ink":"#ffffff","accent":"#ffffff","images":[]}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="whip-pan"
props={{
labels: [],
palette: ['#ff7a59', '#6a4cff', '#14b8a6', '#ffd166'],
ink: '#ffffff',
accent: '#ffffff',
images: [],
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="whip-pan"
props='{"labels":[],"palette":["#ff7a59","#6a4cff","#14b8a6","#ffd166"],"ink":"#ffffff","accent":"#ffffff","images":[]}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "whip-pan",
"props": {
"labels": [],
"palette": [
"#ff7a59",
"#6a4cff",
"#14b8a6",
"#ffd166"
],
"ink": "#ffffff",
"accent": "#ffffff",
"images": []
}
}
]
}Whip pan props
15 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
images | [] | public/ paths or URLs, shown in order and looping (empty = procedural scenes) |
scenes | 3 | how many procedural scenes when images is empty |
labels | [] | optional caption per picture |
direction | "left" | pan direction: left | right | up | down |
hold | 34 | frames each picture holds still |
whipFrames | 12 | frames the whip takes (lower = snappier) |
startAt | 0 | frame the first hold begins |
maxBlur | 70 | peak directional blur in u |
streaks | true | speed streak lines during the whip |
flash | 0.12 | accent flash strength at the peak (0 = off) |
punch | 0.04 | extra scale at the peak of the whip |
palette | ["#ff7a59","#6a4cff","#14b8a6","#ffd166"] | colours for procedural scenes |
ink | "#ffffff" | caption colour |
accent | "#ffffff" | flash / subject accent colour |
fontFamily | "stub" | caption font |
Related motions

Auto-frame camera
Keeps any multi-step build-up diagram readable without hand-keyed cameras; the same `fitCamera` / `autoFrameAt` helpers…
auto-frame-camera
Board camera (one huge board, one long dolly)
Turns hand-drawn motions into one continuous explainer: course intros, "how it works" product videos, onboarding; the full-board pull-back…
board-camera
Canvas flythrough
Explainers, product tours and pitch one-shot infographics: lay out sections as one canvas, list the stations, and let the camera do the…
canvas-flythrough
Orbit parallax
Bringing a still product, person or character photo to life; hero images and portfolio shots; photo-to-3D-feel loops.
orbit-parallax
Crash zoom
Comedic or dramatic emphasis on a face, product, number or object in any image; reaction beats; "wait, what?" moments.
crash-zoom
Dolly zoom (vertigo)
A moment of dread, realisation or "oh no" on a portrait, product or place photo; thriller and true-crime beats; dramatic reveal punctuation.
dolly-zoom
Notes & credits
Technique sources:
- camera-vocabulary: whip pan / swish pan