Opus Motion ★ Star on GitHub

3D · popup-spread

Pop-up book spread

An open pop-up book on a walnut desk: flat cut-paper cards with die-cut borders flip up around their bottom edges with a springy overshoot — back row first, then forward — sway gently with soft contact shadows, and fold back down in the same order at the end. CSS-3D (no WebGL), so it is light enough for web heroes.

A free, MIT-licensed 3D motion graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Pop-up book spread: three frames of the 3D motion graphic, start, middle and end
Pop-up book spread — start, middle and end of the 8.0-second motion.

What Pop-up book spread is for

Children's stories, game trailers, feature-set 'unboxing', onboarding chapters, kids' edtech, playful website heroes.

  • pop-up book
  • paper
  • storybook
  • kids
  • cards
  • 3d
  • css 3d
  • craft
  • sticker
  • diorama
  • unfold
  • hero
  • children

Details

Category
3D motion graphics (three.js)
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
spreadColor skyColor ink desk
Mood
paper, 3d, playful, ui
Roles
subject

Use Pop-up book spread in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render popup-spread --props '{"spreadColor":"#86C763","skyColor":"#9FD8F2","ink":"#3A2A24","desk":"#5A3A22"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export popup-spread --as webm-alpha --props '{"spreadColor":"#86C763","skyColor":"#9FD8F2","ink":"#3A2A24","desk":"#5A3A22"}'

React / Next.js

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

<MotionPlayer
  motion="popup-spread"
  props={{
    spreadColor: '#86C763',
    skyColor: '#9FD8F2',
    ink: '#3A2A24',
    desk: '#5A3A22',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="popup-spread"
  props='{"spreadColor":"#86C763","skyColor":"#9FD8F2","ink":"#3A2A24","desk":"#5A3A22"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "popup-spread",
      "props": {
        "spreadColor": "#86C763",
        "skyColor": "#9FD8F2",
        "ink": "#3A2A24",
        "desk": "#5A3A22"
      }
    }
  ]
}

Pop-up book spread props

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

PropDefaultWhat it does
pieces[{"art":"cloud","x":0.22,"z":0,"scale":0.7},{"art":"sun","x":0.8,"z":0,"scale":0.85},{"…cards [{art: hill|pine|tree|mushHouse|cloud|sun|sign|fence|flower, x (0..1 across the spread), z (0 back … 1 front), scale, color?, label? (sign text)}]
spreadColor"#86C763"page ground colour
skyColor"#9FD8F2"sky band at the back of the page
riseAt10frame the back row starts rising
stagger36frames of delay from back (z 0) to front (z 1)
foldAt200frame the cards start folding down (beyond duration = never)
tilt52book tilt in degrees (how far we look down onto the page)
sway2.5idle sway in degrees
ink"#3A2A24"outline ink (dark brown, never black)
desk"#5A3A22"desk wood colour
border12die-cut border width (art units)
background"desk""desk" or any colour / "transparent"

Notes & credits

Technique sources:

  • lemo-opuscar styles/paper-popup (MIT code, CC BY 4.0 docs, LemoLab) — demo/sets.js popper/updatePops, DEMO.md motion numbers