Opus Motion ★ Star on GitHub

Worlds · flock

V-formation flock

A V-formation of red-crowned cranes flies right-to-left over snowy peaks: birds shrink with depth along each arm, flap on twos with offset phases (white down-strokes, grey-blue up-strokes) and bob against their wings, while a lone paper crane swoops in from the lower right and takes the last slot.

A free, MIT-licensed animated background from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

V-formation flock: three frames of the animated background, start, middle and end
V-formation flock — start, middle and end of the 6.0-second motion.

What V-formation flock is for

Migration / journey / teamwork beats, "joining the group" metaphors, sky interludes.

  • birds
  • flock
  • cranes
  • sky
  • migration
  • formation

Details

Category
Animated worlds & backdrops
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
sky horizon
Mood
light, paper, nature
Roles
backdrop
Pairs with
Blur-in title card, Sun rise / sun set, Handwrite-on title

Use V-formation flock in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add flock --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render flock --props '{"sky":"#7a9fc0","horizon":"#a9c1d6"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export flock --as mp4 --props '{"sky":"#7a9fc0","horizon":"#a9c1d6"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="flock"
  props={{sky: '#7a9fc0', horizon: '#a9c1d6'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="flock"
  props='{"sky":"#7a9fc0","horizon":"#a9c1d6"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "flock",
      "props": {
        "sky": "#7a9fc0",
        "horizon": "#a9c1d6"
      }
    }
  ]
}

V-formation flock props

14 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
count9number of real cranes (including the leader)
spacing175distance between birds in u
angleDeg30angle of the V arms (degrees from horizontal)
scaleFalloff0.93size factor per bird toward the back (depth)
birdSize68leader body half-length in u
period25flap cycle in frames (25 = 0.833 s, drawn on twos)
paperCranetruea paper crane flies in and joins the formation
joinAt18frame the paper crane enters
joinFrames110frames it takes to reach its slot
sky"#7a9fc0"sky colour (top)
horizon"#a9c1d6"sky colour at the horizon
mountainstruesnowy peaks, cloud banks and conifers below
grain0.05film grain opacity
seed"migrate"random seed

Notes & credits

Technique sources:

  • video1 0:28-0:35 v-formation-flock
  • video1 0:30-0:32 bird-flap-cycle