Opus Motion ★ Star on GitHub

Worlds · starfield-night

Starfield night

Dark teal night sky with twinkling cream stars, a grainy crescent moon that fades in, swaying teal grass and a shooting star. Overlay-capable.

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

Starfield night: three frames of the animated background, start, middle and end
Starfield night — start, middle and end of the 6.0-second motion.

What Starfield night is for

Calm night / sleep / dream / wish beats, end cards and quiet intros; transparent overlay for stars over any sky.

  • sky
  • night
  • stars
  • moon
  • calm
  • overlay
  • ambience
  • twinkle-ripple
  • payoff
  • wave

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 starColor
Mood
dark, nature, night
Roles
backdrop, accent
Pairs with
Aurora curtain, Blur-in title card, Grass field (teal blades + golden leaves), End card credits

Use Starfield night in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render starfield-night --props '{"background":"#0C1820","starColor":"#FDF3DB"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export starfield-night --as webm-alpha --props '{"background":"#0C1820","starColor":"#FDF3DB"}'

React / Next.js

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

<MotionPlayer
  motion="starfield-night"
  props={{background: '#0C1820', starColor: '#FDF3DB'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="starfield-night"
  props='{"background":"#0C1820","starColor":"#FDF3DB"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "starfield-night",
      "props": {
        "background": "#0C1820",
        "starColor": "#FDF3DB"
      }
    }
  ]
}

Starfield night props

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

PropDefaultWhat it does
background"#0C1820"CSS background; "transparent" = overlay (stars, moon, shooting star only)
backdroptruepaint the teal sky gradient, grass and print grain
starCount90stars per 1080p frame (source ≈ 80)
starColor"#FDF3DB"star / moon colour
moontrueshow the crescent moon
moonPos[0.7,0.22][x, y] moon centre as fractions of the frame
moonSize46moon radius in px at 1080p
moonPhase0.42crescent thickness: inner-circle offset as a fraction of the radius (0.42 = source)
shootingStartrueone shooting star streak
shootingAt0.45when the shooting star starts, as a fraction of the duration
grasstrueswaying teal grass silhouette along the bottom
graintruestatic print speckle over the frame
seed1random seed
ripplenull{x, y, at}: a wave of brightened twinkles spreads from that point (0..1 fractions) starting at that frame - a "star arriving home" / payoff accent; null = off
rippleSpeed1100ripple speed in px/s at 1080p (1100)

Notes & credits

Technique sources:

  • video15 0.0-0.35, 25.55-26.1