Opus Motion ★ Star on GitHub

Music · stage-curtain

Painted stage + curtains

A hand-painted storybook theatre: a slowly rotating two-colour sunburst backdrop, a wooden plank floor, spotlight cones swinging and pulsing on the beat, footlights, and velvet side curtains with a scalloped valance that sweep open at the start and close at the end — with Nib dancing centre stage (or empty, or as a front-only frame over your own scene).

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

Painted stage + curtains: three frames of the music visualizer, start, middle and end
Painted stage + curtains — start, middle and end of the 8.0-second motion.

What Painted stage + curtains is for

“And now…” announcements, show/reveal framing, open/close bookends, a recurring chorus set, kids’ and storybook videos.

  • stage
  • theatre
  • curtain
  • sunburst
  • spotlight
  • show
  • announcement
  • reveal
  • storybook
  • painted
  • kids
  • bookend
  • mascot
  • nib
  • music
  • frame

Details

Category
Music visualisers & audio graphics
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title
Colour props
colors curtainColor floorColor spots background
Mood
nature, playful
Roles
subject

Use Painted stage + curtains in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render stage-curtain --props '{"title":"TONIGHT ONLY","colors":["#E8AA38","#F3D27A"],"curtainColor":"#B3263A","floorColor":"#9A6A44","spots":["#FFF2C4","#FFE1A8","#FFF2C4"],"background":"#2B2233"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export stage-curtain --as webm-alpha --props '{"title":"TONIGHT ONLY","colors":["#E8AA38","#F3D27A"],"curtainColor":"#B3263A","floorColor":"#9A6A44","spots":["#FFF2C4","#FFE1A8","#FFF2C4"],"background":"#2B2233"}'

React / Next.js

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

<MotionPlayer
  motion="stage-curtain"
  props={{
    title: 'TONIGHT ONLY',
    colors: ['#E8AA38', '#F3D27A'],
    curtainColor: '#B3263A',
    floorColor: '#9A6A44',
    spots: ['#FFF2C4', '#FFE1A8', '#FFF2C4'],
    background: '#2B2233',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="stage-curtain"
  props='{"title":"TONIGHT ONLY","colors":["#E8AA38","#F3D27A"],"curtainColor":"#B3263A","floorColor":"#9A6A44","spots":["#FFF2C4","#FFE1A8","#FFF2C4"],"background":"#2B2233"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "stage-curtain",
      "props": {
        "title": "TONIGHT ONLY",
        "colors": [
          "#E8AA38",
          "#F3D27A"
        ],
        "curtainColor": "#B3263A",
        "floorColor": "#9A6A44",
        "spots": [
          "#FFF2C4",
          "#FFE1A8",
          "#FFF2C4"
        ],
        "background": "#2B2233"
      }
    }
  ]
}

Painted stage + curtains props

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

PropDefaultWhat it does
title"TONIGHT ONLY"painted marquee line over the stage (empty = none)
performer"nib"'nib' (the library mascot dances centre stage) or 'none'
dance"mix"Nib dance style (bounce, hop, roof, sway, spin, wave, stomp, shimmy, mix …)
emotion"happy"Nib mood
backdrop"sunburst"'sunburst' (painted set + floor) or 'none' (front-only frame: curtains, valance, footlights)
colors["#E8AA38","#F3D27A"]two sunburst colours
curtainColor"#B3263A"velvet colour
floorColor"#9A6A44"stage floor colour
spots["#FFF2C4","#FFE1A8","#FFF2C4"]spotlight colours (one cone each)
alarmfalsered alarm wash pulsing on the beat
openFrames36frames for the curtains to open
closeFrames30frames for the curtains to close at the end
bpm120beat for spot pulses and the dance
offsetSec0first beat (s)
rays24sunburst ray count
background"#2B2233"colour behind everything, or 'transparent' with backdrop 'none' to frame another motion

Notes & credits

Technique sources:

  • idea only: PDoomVideo stage set as summarised in analysis/sources/pdoom.md (no licence — original implementation)