Opus Motion ★ Star on GitHub

Worlds · light-band-window

Light-band stained-glass window

A tall leaded window with four lancets and a rose in a dark ashlar wall: a soft band of coloured sunlight travels across it (dawn, noon, afternoon, dusk, moon) so the lit lancet glows jewel-bright with a shaft, dust and a floor patch while the others go dark and milky and freeze their figures.

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

Light-band stained-glass window: three frames of the animated background, start, middle and end
Light-band stained-glass window — start, middle and end of the 8.0-second motion.

What Light-band stained-glass window is for

Light as time: recipe steps, the seasons of a farm, factory shifts, chapters of a biography, a product line-up lit in turn; strong heritage or holiday look.

  • stained glass
  • window
  • sunlight
  • light shaft
  • time of day
  • gothic
  • lancet
  • rose window
  • chapters
  • seasons
  • heritage
  • dawn
  • dusk
  • god rays

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
no
Text props
title
Colour props
wall lead background floor recess titleColor captionColor dustColor
Mood
nature, editorial, night
Roles
backdrop

Use Light-band stained-glass window in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render light-band-window --props '{"title":"HOURS OF THE DAY","wall":"#3a3942","lead":"#14131a","background":"#08070b","floor":"#15131a","recess":"#07060a","titleColor":"#55525e","captionColor":"#4a4752","dustColor":"#ffffff"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export light-band-window --as mp4 --props '{"title":"HOURS OF THE DAY","wall":"#3a3942","lead":"#14131a","background":"#08070b","floor":"#15131a","recess":"#07060a","titleColor":"#55525e","captionColor":"#4a4752","dustColor":"#ffffff"}'

React / Next.js

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

<MotionPlayer
  motion="light-band-window"
  props={{
    title: 'HOURS OF THE DAY',
    wall: '#3a3942',
    lead: '#14131a',
    background: '#08070b',
    floor: '#15131a',
    recess: '#07060a',
    titleColor: '#55525e',
    captionColor: '#4a4752',
    dustColor: '#ffffff',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="light-band-window"
  props='{"title":"HOURS OF THE DAY","wall":"#3a3942","lead":"#14131a","background":"#08070b","floor":"#15131a","recess":"#07060a","titleColor":"#55525e","captionColor":"#4a4752","dustColor":"#ffffff"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "light-band-window",
      "props": {
        "title": "HOURS OF THE DAY",
        "wall": "#3a3942",
        "lead": "#14131a",
        "background": "#08070b",
        "floor": "#15131a",
        "recess": "#07060a",
        "titleColor": "#55525e",
        "captionColor": "#4a4752",
        "dustColor": "#ffffff"
      }
    }
  ]
}

Light-band stained-glass window props

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

PropDefaultWhat it does
panes[{"caption":"DAWN","sky":"#e0663f","sky2":"#f3b85a","sun":"#fff0b8","hill":"#6b2f66","a…one object per lancet: caption, sky, sky2, sun, hill, accent colours (2-5 lancets)
schedule[{"at":0,"sunU":0.06,"color":"#ff9a62","intensity":0.75},{"at":14,"sunU":0.12,"color":"…sun path keys: at (frame), sunU (0..1 across the window), colour, intensity
bandWidth10extra band width beyond a lancet, in u
soft28band edge softness in u
rosetrueshow the rose window (dark at night)
shaftstruelight shafts, dust and floor patch
dust28number of dust motes in each shaft
freezeUnlittrueonly the lit pane animates
title"HOURS OF THE DAY"carved string-course text (empty = none)
wall"#3a3942"stone colour
lead"#14131a"lead came colour
seed4wall and dust seed
background"#08070b"page colour behind the wall (normally covered)
floor"#15131a"floor colour under the window
recess"#07060a"dark window recess colour (behind the glass)
titleColor"#55525e"carved title colour (tinted by the sun colour)
captionColor"#4a4752"pane caption colour when unlit (tinted by the sun colour)
dustColor"#ffffff"dust mote colour in the shafts

Notes & credits

Technique sources:

  • lemo-opuscar styles/stained-glass demo/comp.js, window.js, scene.js (MIT, LemoLab)