Opus Motion ★ Star on GitHub

Worlds · lightbox-stack

Paper-cut lightbox (纸雕灯)

A glowing paper-cut lamp scene in eight stacked sheets: starry pulp sky, a moon with halo, auspicious clouds with carved spirals, two mountain ranges, a village whose warm windows switch on one by one, a river with a broken moon trail, a dark tree and reeds, and blurred hanging lanterns that flicker — each sheet casting a soft shadow on the one behind while the lamp turns on back-to-front and the camera creeps in.

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

Paper-cut lightbox (纸雕灯): three frames of the animated background, start, middle and end
Paper-cut lightbox (纸雕灯) — start, middle and end of the 8.0-second motion.

What Paper-cut lightbox (纸雕灯) is for

Festival greetings (Mid-Autumn, Diwali, holidays), gift and brand stories, cosy website hero backgrounds (reduced-motion still = lamp fully on).

  • paper cut
  • lightbox
  • lantern
  • mid-autumn
  • festival
  • night
  • moon
  • village
  • parallax
  • backlit
  • diorama
  • hero background
  • cosy
  • chinese

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
—
Colour props
—
Mood
paper, nature, night
Roles
backdrop

Use Paper-cut lightbox (纸雕灯) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render lightbox-stack --props '{"ladder":"night","light":{"x":0.64,"y":0.3,"color":"","radius":0.85},"moon":true,"windows":8}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export lightbox-stack --as mp4 --props '{"ladder":"night","light":{"x":0.64,"y":0.3,"color":"","radius":0.85},"moon":true,"windows":8}'

React / Next.js

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

<MotionPlayer
  motion="lightbox-stack"
  props={{
    ladder: 'night',
    light: {x: 0.64, y: 0.3, color: '', radius: 0.85},
    moon: true,
    windows: 8,
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="lightbox-stack"
  props='{"ladder":"night","light":{"x":0.64,"y":0.3,"color":"","radius":0.85},"moon":true,"windows":8}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "lightbox-stack",
      "props": {
        "ladder": "night",
        "light": {
          "x": 0.64,
          "y": 0.3,
          "color": "",
          "radius": 0.85
        },
        "moon": true,
        "windows": 8
      }
    }
  ]
}

Paper-cut lightbox (纸雕灯) props

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

PropDefaultWhat it does
ladder"night"paper value ladder: "night" (indigo), "desert", "winter" or "violet" (far city)
light{"x":0.64,"y":0.3,"color":"","radius":0.85}backlight point {x, y (0..1), color ("" = ladder default), radius}
moontruemoon + halo + river trail
windows8how many village windows switch on
lanternCount3hanging foreground lanterns
lampOnAt10frame the lamp starts turning on (moon first)
lampOnStagger13frames between each sheet lighting, back to front
windowsAt90frame the first window switches on
dolly0.08slow dolly-in amount
drift10lateral parallax drift in u
stars60star count
seed7scene seed (ridges, houses, reeds)
background"auto""auto" (ladder sky) or any colour

Notes & credits

Technique sources:

  • lemo-opuscar styles/paper-lantern (MIT code, CC BY 4.0 docs, LemoLab) — demo/src/paper.js, stage.js, art.js, shots/s01_night.js