Opus Motion ★ Star on GitHub

Worlds · paper-diorama

Paper diorama

A pop-up-book landscape of 8 cut-paper layers with fibre texture, torn light rims and soft inter-layer shadows; a slow multiplane dolly, a walking paper critter on a stone bridge, a flowing stream and a golden guide star that ignites and leaves a trail.

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

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

What Paper diorama is for

Storybook / brand-journey openers, children’s education, calm website hero loops and chapter backgrounds with a title in the sky band.

  • paper
  • paper-cut
  • diorama
  • pop-up book
  • storybook
  • layers
  • parallax
  • multiplane
  • landscape
  • mountains
  • fox
  • critter
  • guide star
  • craft
  • kids
  • journey
  • hero
  • background
  • sunset

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
no
Seamless loop
no
Text props
title
Colour props
titleColor
Image props
heroSrc
Mood
paper, nature
Roles
backdrop

Use Paper diorama in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render paper-diorama --props '{"title":"","titleColor":"#FFF6E8","heroSrc":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export paper-diorama --as mp4 --props '{"title":"","titleColor":"#FFF6E8","heroSrc":""}'

React / Next.js

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

<MotionPlayer
  motion="paper-diorama"
  props={{title: '', titleColor: '#FFF6E8', heroSrc: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="paper-diorama"
  props='{"title":"","titleColor":"#FFF6E8","heroSrc":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "paper-diorama",
      "props": {
        "title": "",
        "titleColor": "#FFF6E8",
        "heroSrc": ""
      }
    }
  ]
}

Paper diorama props

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

PropDefaultWhat it does
palette"sunset"'sunset' (warm dusk) | 'moonlit' (night, stars, moon) | 'dawn' (pale morning)
heroAction"walk"critter pose: 'walk' (in place) | 'sit' | 'stand' | 'look-up'
species"fox"critter recolour: 'fox' | 'cat' | 'wolf' | 'hare'
showHerotrueshow the paper critter on the bridge
heroSrc""optional public/ image (transparent PNG) to stand on the bridge instead of the critter
heroX0.31hero x as a fraction of width (keep it on the left third, eye line to the star)
ambient["water"]ambient loops: any of 'water', 'stars', 'fireflies', 'rain'
guideStartrueshow the golden guide star
starAt46frame the guide star ignites (bloom + sparkle spray + trail)
starX0.65guide star x (fraction of width)
starY0.075guide star y (fraction of height)
dolly1.6push-in rate in %/s at depth 1 (far layers move 40 %)
pan27lateral truck in px/s at depth 1 (0 = pure push-in)
dof4blur (px at 1080p) on the nearest foreground layer
title""optional title set in the sky band (Fraunces)
titleColor"#FFF6E8"title colour
seed3layout seed (mountains, trees, flowers)

Notes & credits

Technique sources:

  • video x5 0:00-0:06 (alpine sunset scene, measured dolly 6.5-11 s)
  • video x5 every scene (layer stack, palette)