Opus Motion ★ Star on GitHub

Worlds · firefly-meadow-night

Firefly meadow night

A moonlit meadow: starry sky, rolling hills and tree line, two layers of swaying grass blades and dozens of fireflies drifting on closed loops and pulsing softly; loops seamlessly.

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

Firefly meadow night: three frames of the animated background, start, middle and end
Firefly meadow night — start, middle and end of the 8.0-second motion.

What Firefly meadow night is for

Magical, cosy or calm night backdrop for bedtime stories, meditation / sleep apps, fantasy and fairytale titles, cottagecore, wedding / romantic videos, "end of day" screens and lyric videos.

  • fireflies
  • meadow
  • night
  • moon
  • grass
  • stars
  • magic
  • fantasy
  • bedtime
  • sleep
  • calm
  • loop
  • backdrop
  • nature
  • landscape
  • glow
  • romantic

Details

Category
Animated worlds & backdrops
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
yes
Text props
title subtitle
Colour props
—
Mood
dark, nature, night
Roles
backdrop

Use Firefly meadow night in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render firefly-meadow-night --props '{"title":"","subtitle":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export firefly-meadow-night --as mp4 --props '{"title":"","subtitle":""}'

React / Next.js

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

<MotionPlayer
  motion="firefly-meadow-night"
  props={{title: '', subtitle: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="firefly-meadow-night"
  props='{"title":"","subtitle":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "firefly-meadow-night",
      "props": {
        "title": "",
        "subtitle": ""
      }
    }
  ]
}

Firefly meadow night props

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

PropDefaultWhat it does
skyTop""top sky colour (hex); empty = deep navy
skyBottom""horizon sky colour (hex); empty = midnight blue
grassColor""meadow colour (hex); nearer grass and hills darken from it; empty = forest green
glowColor""firefly glow colour (hex); empty = warm yellow
moontrueshow the moon
moonX0.72moon horizontal position, 0 (left) – 1 (right)
fireflies46firefly count at default density
glowSize1firefly glow radius multiplier
sway1grass sway amount (0 = still)
speed1animation speed; quantised to whole cycles per loop so the clip loops seamlessly (0 = frozen)
density1multiplier for how many particles / elements are drawn
seed6random seed (changes the layout, not the look)
title""optional headline over the scene (empty = none)
subtitle""optional small line under the title (empty = none)
fontFamily"serif"font role ("serif", "display", "sans", "grotesk", "hand", "mono") or any CSS family for title / subtitle
ink""title / subtitle colour; empty = from timeOfDay
titlePosition"top""center" | "top" | "bottom"
titleSize1title size multiplier

Notes & credits

Technique sources:

  • original — round 3 nature backdrops