
基礎動畫
Whip pan
@opus-motion-library/whip-pan
The camera whips sideways to the next picture: expo-fast slide, directional motion blur, speed streaks, a settle.
安裝
node cli/mgl.mjs add whip-pan --to <your-project>/src適用情境
- 適合
- Energetic cuts between product shots, locations, slides or portfolio images; a swish-pan transition inside one clip; travel and event recaps.
規格
- 長度
- 150f · 5s
- 長度類型
- 固定長度
- FPS
- 30
- 風格
- photo
- 授權
- MIT
Props(15)
imagesarray= []public/ paths or URLs, shown in order and looping (empty = procedural scenes)
scenesnumber= 3how many procedural scenes when images is empty
labelsarray= []optional caption per picture
directionstring= "left"pan direction: left | right | up | down
holdnumber= 34frames each picture holds still
whipFramesnumber= 12frames the whip takes (lower = snappier)
startAtnumber= 0frame the first hold begins
maxBlurnumber= 70peak directional blur in u
streaksboolean= truespeed streak lines during the whip
flashnumber= 0.12accent flash strength at the peak (0 = off)
punchnumber= 0.04extra scale at the peak of the whip
palettearray= ["#ff7a59","#6a4cff","#14b8a6","#ffd166"]colours for procedural scenes
inkstring= "#ffffff"caption colour
accentstring= "#ffffff"flash / subject accent colour
fontFamilystring= "stub"caption font