Opus Motion ★ Star on GitHub

Worlds · paper-cutout-layers

Paper cut-out layers (stop-motion)

A scene built from flat coloured paper layers with deckled edges and soft drop shadows that grow with depth, fibre grain over everything: layers slide up with a 4-8 degree rotation that settles to 0, a sun, clouds, three hills, a paper sea and a sailboat bob and drift in parallax, a paper-cut title lands last, all stepped on twos (12 fps stop-motion).

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

Paper cut-out layers (stop-motion): three frames of the animated background, start, middle and end
Paper cut-out layers (stop-motion) — start, middle and end of the 6.0-second motion.

What Paper cut-out layers (stop-motion) is for

Kids / education explainers, festive greetings, charity stories and warm brand films: pass your own `layers` (shapes or text) and `palette`; reuse `paperShape` / `DeckleFilter` / `paperShadow` from r2-pr1-kit to give any SVG scene the paper look. For a fixed pop-up landscape see paper-diorama.

  • paper
  • paper cut
  • papercut
  • cutout
  • layers
  • stop motion
  • stop-motion
  • parallax
  • shadow
  • deckle
  • craft
  • kids
  • education
  • greeting
  • festive
  • charity
  • storybook
  • collage
  • environment

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
—
Colour props
palette background
Mood
paper, 3d, nature
Roles
backdrop

Use Paper cut-out layers (stop-motion) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render paper-cutout-layers --props '{"palette":["#F7E3C3","#F4A261","#FFFDF6","#9CCBB4","#66AA90","#3F8670","#2F6F8F","#E76F51","#264653"],"background":"#F7E3C3"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export paper-cutout-layers --as mp4 --props '{"palette":["#F7E3C3","#F4A261","#FFFDF6","#9CCBB4","#66AA90","#3F8670","#2F6F8F","#E76F51","#264653"],"background":"#F7E3C3"}'

React / Next.js

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

<MotionPlayer
  motion="paper-cutout-layers"
  props={{
    palette: [
      '#F7E3C3',
      '#F4A261',
      '#FFFDF6',
      '#9CCBB4',
      '#66AA90',
      '#3F8670',
      '#2F6F8F',
      '#E76F51',
      '#264653',
    ],
    background: '#F7E3C3',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="paper-cutout-layers"
  props='{"palette":["#F7E3C3","#F4A261","#FFFDF6","#9CCBB4","#66AA90","#3F8670","#2F6F8F","#E76F51","#264653"],"background":"#F7E3C3"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "paper-cutout-layers",
      "props": {
        "palette": [
          "#F7E3C3",
          "#F4A261",
          "#FFFDF6",
          "#9CCBB4",
          "#66AA90",
          "#3F8670",
          "#2F6F8F",
          "#E76F51",
          "#264653"
        ],
        "background": "#F7E3C3"
      }
    }
  ]
}

Paper cut-out layers (stop-motion) props

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

PropDefaultWhat it does
layers[{"kind":"rect","color":0,"x":50,"y":50,"w":124,"h":110,"depth":0,"delay":0},{"kind":"c…[{kind:'rect'|'circle'|'hill'|'wave'|'cloud'|'tree'|'star'|'blob'|'sail'|'ring'|'text', color: hex | palette index, x, y (centre, % of frame), w (bands: % of frame width; objects: % of the short side; text: % of frame width), h? (bands: % of frame height), depth 0-4, delay?, rot?, text?}]
palette["#F7E3C3","#F4A261","#FFFDF6","#9CCBB4","#66AA90","#3F8670","#2F6F8F","#E76F51","#2646…colours that layers can reference by index
step2hold each drawing for n frames (2 = 12 fps stop-motion)
shadow1drop-shadow strength (0 = none, 1 = default)
drift22camera parallax drift in u
edge5deckled-edge roughness in u (0 = clean)
grain0.5paper fibre overlay opacity
seed3edge / hill shape seed
background"#F7E3C3"table colour behind the layers

Notes & credits

Technique sources:

  • prompt-corpus: paper-cutout-layers (20 cases)
  • awesome-opus5-5-videos prompts (MIT) — technique only