Opus Motion ★ Star on GitHub

Worlds · falling-petals

Falling petals / leaves / papers

Petals (or autumn leaves, or paper sheets) sway, spin and flip in 3D as they fall in three depth layers past a blossom branch over a soft meadow. Overlay-capable.

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

Falling petals / leaves / papers: three frames of the animated background, start, middle and end
Falling petals / leaves / papers — start, middle and end of the 6.0-second motion.

What Falling petals / leaves / papers is for

Spring / romance / seasons / time passing; papers for office chaos, letters, bureaucracy; overlay on any scene.

  • particles
  • petals
  • leaves
  • paper
  • spring
  • autumn
  • overlay
  • ambience

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
yes
Seamless loop
no
Text props
—
Colour props
background
Mood
light, nature
Roles
backdrop, accent
Pairs with
Handwrite-on title, Petal bloom (lotus / radial), Blur-in title card

Use Falling petals / leaves / papers in Remotion, React or HTML

Remotion project

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

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

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

React / Next.js

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

<MotionPlayer
  motion="falling-petals"
  props={{background: '#A9CDE0'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="falling-petals"
  props='{"background":"#A9CDE0"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "falling-petals",
      "props": {
        "background": "#A9CDE0"
      }
    }
  ]
}

Falling petals / leaves / papers props

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

PropDefaultWhat it does
mode"petals""petals", "leaves" or "papers"
background"#A9CDE0"CSS background; "transparent" = overlay (no painted meadow)
backdroptruepaint the procedural sky / meadow / branch
colors[]fill colours; empty = mode palette
count0items per 1080p frame; 0 = mode default (30 / 22 / 8)
speed1fall speed multiplier
sway1sideways sway amplitude multiplier
size1item size multiplier
wind0.6constant sideways drift (positive = right)
branchtruedraw the blossom (or autumn) branch in the top-left
seed1random seed

Notes & credits

Technique sources:

  • video6 21.33-39.30
  • video14 era ambience (falling-papers)