Opus Motion ★ Star on GitHub

Worlds · curl-flow

Curl-flow swirl

Hundreds of coloured ribbons stream through a turbulent curl-noise vortex around a dark spiky pupil, inside a red magnifier lens on cream paper (or full-frame). Overlay-capable.

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

Curl-flow swirl: three frames of the animated background, start, middle and end
Curl-flow swirl — start, middle and end of the 5.0-second motion.

What Curl-flow swirl is for

Inspection / insight / chaos-under-the-lens beats, psychedelic or hypnotic transitions, "looking closer" moments.

  • flow
  • swirl
  • vortex
  • psychedelic
  • lens
  • particles
  • overlay

Details

Category
Animated worlds & backdrops
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
background lensColor palette
Mood
light, paper
Roles
backdrop, accent
Pairs with
Blur-in title card, Science HUD reticle, Glitch image bursts

Use Curl-flow swirl in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render curl-flow --props '{"background":"#E7DDC7","lensColor":"#B8323F","palette":["#D6317A","#22B0C4","#E3A72F","#161616","#5FC3E4","#E35D3A","#22B0C4","#D6317A"]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export curl-flow --as webm-alpha --props '{"background":"#E7DDC7","lensColor":"#B8323F","palette":["#D6317A","#22B0C4","#E3A72F","#161616","#5FC3E4","#E35D3A","#22B0C4","#D6317A"]}'

React / Next.js

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

<MotionPlayer
  motion="curl-flow"
  props={{
    background: '#E7DDC7',
    lensColor: '#B8323F',
    palette: [
      '#D6317A',
      '#22B0C4',
      '#E3A72F',
      '#161616',
      '#5FC3E4',
      '#E35D3A',
      '#22B0C4',
      '#D6317A',
    ],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="curl-flow"
  props='{"background":"#E7DDC7","lensColor":"#B8323F","palette":["#D6317A","#22B0C4","#E3A72F","#161616","#5FC3E4","#E35D3A","#22B0C4","#D6317A"]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "curl-flow",
      "props": {
        "background": "#E7DDC7",
        "lensColor": "#B8323F",
        "palette": [
          "#D6317A",
          "#22B0C4",
          "#E3A72F",
          "#161616",
          "#5FC3E4",
          "#E35D3A",
          "#22B0C4",
          "#D6317A"
        ]
      }
    }
  ]
}

Curl-flow swirl props

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

PropDefaultWhat it does
background"#E7DDC7"CSS background; "transparent" = overlay
backdroptruepaper texture, iris lines, magnifier handle and boiling sketch arcs
lenstrueclip the flow inside a magnifier lens circle; false = full frame
lensColor"#B8323F"magnifier rim colour
pupiltruedark spiky pupil at the vortex centre
palette["#D6317A","#22B0C4","#E3A72F","#161616","#5FC3E4","#E35D3A","#22B0C4","#D6317A"]ribbon colours
particleCount760number of ribbons
vortexStrength1.5tangential swirl strength
noiseScale0.65curl-noise feature frequency (higher = smaller eddies)
flowSpeed1curl-noise advection speed
ribbonWidth1ribbon width multiplier
seed1random seed

Notes & credits

Technique sources:

  • video2 18.54-20.71