Opus Motion ★ Star on GitHub

Worlds · bubbles

Iridescent bubbles

A packed foam of soap bubbles on a steel sink: rotating rainbow thin-film rims, jiggle, occasional pops and re-growth; "rising" mode sends bubbles up through deep water. Overlay-capable.

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

Iridescent bubbles: three frames of the animated background, start, middle and end
Iridescent bubbles — start, middle and end of the 5.0-second motion.

What Iridescent bubbles is for

Clean / fresh / soap / fizz / bubbly-mood beats, underwater ambience; overlay bubbles on footage.

  • bubbles
  • soap
  • foam
  • iridescent
  • underwater
  • overlay
  • particles

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
Mood
light, cinematic, nature
Roles
backdrop, accent
Pairs with
Caustics & god-rays, Fish school + jellyfish, Blur-in title card

Use Iridescent bubbles in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render bubbles --props '{"background":"#B7C3C9"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export bubbles --as webm-alpha --props '{"background":"#B7C3C9"}'

React / Next.js

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

<MotionPlayer
  motion="bubbles"
  props={{background: '#B7C3C9'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="bubbles"
  props='{"background":"#B7C3C9"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "bubbles",
      "props": {
        "background": "#B7C3C9"
      }
    }
  ]
}

Iridescent bubbles props

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

PropDefaultWhat it does
mode"cluster""cluster" (packed foam with pops) or "rising" (bubbles rising through water)
background"#B7C3C9"CSS background; "transparent" = overlay
backdroptruepaint the steel sink (cluster) or deep-water gradient (rising)
count95number of bubbles (rising: per 1080p frame)
radiusRange[12,72][min, max] bubble radius in px at 1080p
hueSpeed60thin-film rainbow rotation in degrees per second
popRate1.2cluster pops per second
speed1rising speed multiplier
foamtruetiny foam bubbles around the cluster
seed1random seed

Notes & credits

Technique sources:

  • video2 1.08-2.21
  • video23 bathysphere-idle-bob bubbles