Whip pan
Whip pan preview
Primitive

Whip pan

@opus-motion-library/whip-pan

From Opus Motion Library

The camera whips sideways to the next picture: expo-fast slide, directional motion blur, speed streaks, a settle.

Install

node cli/mgl.mjs add whip-pan --to <your-project>/src

When to use

Good for
Energetic cuts between product shots, locations, slides or portfolio images; a swish-pan transition inside one clip; travel and event recaps.

Specs

Length
150f · 5s
Length type
Fixed
FPS
30
Style
photo
License
MIT

Props (15)

  • imagesarray= []

    public/ paths or URLs, shown in order and looping (empty = procedural scenes)

  • scenesnumber= 3

    how many procedural scenes when images is empty

  • labelsarray= []

    optional caption per picture

  • directionstring= "left"

    pan direction: left | right | up | down

  • holdnumber= 34

    frames each picture holds still

  • whipFramesnumber= 12

    frames the whip takes (lower = snappier)

  • startAtnumber= 0

    frame the first hold begins

  • maxBlurnumber= 70

    peak directional blur in u

  • streaksboolean= true

    speed streak lines during the whip

  • flashnumber= 0.12

    accent flash strength at the peak (0 = off)

  • punchnumber= 0.04

    extra 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

Categories