Opus Motion ★ Star on GitHub

Worlds · lamp-screen

Lamp screen (shadow-theatre cloth)

A warm cotton shadow-theatre screen in a lacquered stage frame (optional blurred audience heads) lit from behind by flickering oil lamps; the pierced subject is transmitted light: dyes glow, holes shine, overlaps darken. More lamps bleach the cloth, snuffing steps it back to gold.

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

Lamp screen (shadow-theatre cloth): three frames of the animated background, start, middle and end
Lamp screen (shadow-theatre cloth) — start, middle and end of the 5.0-second motion.

What Lamp screen (shadow-theatre cloth) is for

The light is the world: lights switching on one by one (servers, city, a fever), folklore and heritage explainers, festival openers; turns any silhouette or icon set into a warm theatre scene.

  • shadow puppet
  • shadow theatre
  • lamp
  • screen
  • backlit
  • cotton cloth
  • warm
  • heritage
  • folklore
  • lights on
  • stage
  • silhouette
  • transmitted light
  • festival

Details

Category
Animated worlds & backdrops
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
frameColor goldColor dyeColor inkColor
Image props
src
Mood
night
Roles
backdrop

Use Lamp screen (shadow-theatre cloth) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render lamp-screen --props '{"frameColor":"#52200e","goldColor":"#d9a441","dyeColor":"#b3261b","inkColor":"#2a1209","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export lamp-screen --as mp4 --props '{"frameColor":"#52200e","goldColor":"#d9a441","dyeColor":"#b3261b","inkColor":"#2a1209","src":""}'

React / Next.js

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

<MotionPlayer
  motion="lamp-screen"
  props={{
    frameColor: '#52200e',
    goldColor: '#d9a441',
    dyeColor: '#b3261b',
    inkColor: '#2a1209',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="lamp-screen"
  props='{"frameColor":"#52200e","goldColor":"#d9a441","dyeColor":"#b3261b","inkColor":"#2a1209","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "lamp-screen",
      "props": {
        "frameColor": "#52200e",
        "goldColor": "#d9a441",
        "dyeColor": "#b3261b",
        "inkColor": "#2a1209",
        "src": ""
      }
    }
  ]
}

Lamp screen (shadow-theatre cloth) props

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

PropDefaultWhat it does
lamps[{"x":0.3,"y":0.46},{"x":0.7,"y":0.46},{"x":0.5,"y":0.62}]lamp positions [{x,y}] as fractions of the frame
igniteAt[8,40,66]frame each lamp ignites (flare overshoot)
snuffAt[-1,124,110]frame each lamp is snuffed (-1 = never; 0.35 s gutter + smoke)
subject"temple"built-in transmission layer: 'temple', 'lanterns' or 'none'
src""optional image used as the transmission layer (dark = shadow)
subjectAt22frame the subject is pressed onto the cloth
stagetruelacquered lintel, pillars and gold cloud curls
audiencetrueblurred audience heads along the bottom
frameColor"#52200e"lacquer colour
goldColor"#d9a441"gold curls colour
dyeColor"#b3261b"transparent dye colour (glows when lit)
inkColor"#2a1209"opaque hide colour
weave1cloth weave and blotch strength
tremor1hand tremor strength
seed3tremor / audience seed

Notes & credits

Technique sources:

  • lemo-opuscar styles/shadow-puppet demo/gl.js, demo/main.js (lamps, exposure), DEMO.md "Rendering constants" (MIT, LemoLab)