Opus Motion ★ Star on GitHub

FX · sticker-cutout

Sticker cut-out (die-cut border)

Paper-sticker finish for any subject: a thick rounded off-white die-cut border, a thin grey cardboard edge peeking out below, paper grain and a soft cut-out-shaped shadow; icons, words and transparent images slap down one by one with a back-ease and sway gently.

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

Sticker cut-out (die-cut border): three frames of the visual effect, start, middle and end
Sticker cut-out (die-cut border) — start, middle and end of the 4.0-second motion.

What Sticker cut-out (die-cut border) is for

Kids / game / social sticker moments, scrapbook explainers, craft-made icon sets; wrap a product PNG to make it a sticker.

  • sticker
  • die cut
  • paper
  • border
  • cut out
  • craft
  • kids
  • scrapbook
  • pop
  • slap
  • icons
  • overlay
  • outline

Details

Category
Visual effects & particles
Length
4.0 s (120 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
items
Colour props
color edge ink paper
Mood
paper, nature
Roles
accent

Use Sticker cut-out (die-cut border) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render sticker-cutout --props '{"items":[{"kind":"icon","icon":"heart","x":0.25,"y":0.36,"size":0.36,"rot":-8,"at":4},{"kind":"text","text":"Hello!","color":"#FFCF3F","x":0.52,"y":0.62,"size":0.3,"rot":4,"at":16},{"kind":"icon","icon":"coffee","x":0.76,"y":0.34,"size":0.34,"rot":9,"at":28},{"kind":"icon","icon":"star","x":0.2,"y":0.76,"size":0.22,"rot":14,"at":40},{"kind":"icon","icon":"leaf","x":0.83,"y":0.74,"size":0.22,"rot":-12,"at":50}],"color":"#FFFDF7","edge":"#B9AD9C","ink":"#3A2A24","paper":"#E9DCC3"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export sticker-cutout --as webm-alpha --props '{"items":[{"kind":"icon","icon":"heart","x":0.25,"y":0.36,"size":0.36,"rot":-8,"at":4},{"kind":"text","text":"Hello!","color":"#FFCF3F","x":0.52,"y":0.62,"size":0.3,"rot":4,"at":16},{"kind":"icon","icon":"coffee","x":0.76,"y":0.34,"size":0.34,"rot":9,"at":28},{"kind":"icon","icon":"star","x":0.2,"y":0.76,"size":0.22,"rot":14,"at":40},{"kind":"icon","icon":"leaf","x":0.83,"y":0.74,"size":0.22,"rot":-12,"at":50}],"color":"#FFFDF7","edge":"#B9AD9C","ink":"#3A2A24","paper":"#E9DCC3"}'

React / Next.js

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

<MotionPlayer
  motion="sticker-cutout"
  props={{
    items: [
      {
        kind: 'icon',
        icon: 'heart',
        x: 0.25,
        y: 0.36,
        size: 0.36,
        rot: -8,
        at: 4,
      },
      {
        kind: 'text',
        text: 'Hello!',
        color: '#FFCF3F',
        x: 0.52,
        y: 0.62,
        size: 0.3,
        rot: 4,
        at: 16,
      },
      {
        kind: 'icon',
        icon: 'coffee',
        x: 0.76,
        y: 0.34,
        size: 0.34,
        rot: 9,
        at: 28,
      },
      {
        kind: 'icon',
        icon: 'star',
        x: 0.2,
        y: 0.76,
        size: 0.22,
        rot: 14,
        at: 40,
      },
      {
        kind: 'icon',
        icon: 'leaf',
        x: 0.83,
        y: 0.74,
        size: 0.22,
        rot: -12,
        at: 50,
      },
    ],
    color: '#FFFDF7',
    edge: '#B9AD9C',
    ink: '#3A2A24',
    paper: '#E9DCC3',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="sticker-cutout"
  props='{"items":[{"kind":"icon","icon":"heart","x":0.25,"y":0.36,"size":0.36,"rot":-8,"at":4},{"kind":"text","text":"Hello!","color":"#FFCF3F","x":0.52,"y":0.62,"size":0.3,"rot":4,"at":16},{"kind":"icon","icon":"coffee","x":0.76,"y":0.34,"size":0.34,"rot":9,"at":28},{"kind":"icon","icon":"star","x":0.2,"y":0.76,"size":0.22,"rot":14,"at":40},{"kind":"icon","icon":"leaf","x":0.83,"y":0.74,"size":0.22,"rot":-12,"at":50}],"color":"#FFFDF7","edge":"#B9AD9C","ink":"#3A2A24","paper":"#E9DCC3"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "sticker-cutout",
      "props": {
        "items": [
          {
            "kind": "icon",
            "icon": "heart",
            "x": 0.25,
            "y": 0.36,
            "size": 0.36,
            "rot": -8,
            "at": 4
          },
          {
            "kind": "text",
            "text": "Hello!",
            "color": "#FFCF3F",
            "x": 0.52,
            "y": 0.62,
            "size": 0.3,
            "rot": 4,
            "at": 16
          },
          {
            "kind": "icon",
            "icon": "coffee",
            "x": 0.76,
            "y": 0.34,
            "size": 0.34,
            "rot": 9,
            "at": 28
          },
          {
            "kind": "icon",
            "icon": "star",
            "x": 0.2,
            "y": 0.76,
            "size": 0.22,
            "rot": 14,
            "at": 40
          },
          {
            "kind": "icon",
            "icon": "leaf",
            "x": 0.83,
            "y": 0.74,
            "size": 0.22,
            "rot": -12,
            "at": 50
          }
        ],
        "color": "#FFFDF7",
        "edge": "#B9AD9C",
        "ink": "#3A2A24",
        "paper": "#E9DCC3"
      }
    }
  ]
}

Sticker cut-out (die-cut border) props

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

PropDefaultWhat it does
items[{"kind":"icon","icon":"heart","x":0.25,"y":0.36,"size":0.36,"rot":-8,"at":4},{"kind":"…stickers [{kind: icon|text|src, icon? (FlatIcon kind: heart, star, coffee, leaf, sun, moon, bolt, gear, chat, check, flame…), text?, src?, color?, x, y (0..1), size (fraction of short side), rot (deg), at (frame)}]
border14die-cut border width in u (12–16)
color"#FFFDF7"border colour
edge"#B9AD9C"cardboard edge colour
shadow0.3cut-out shadow opacity
ink"#3A2A24"outline ink for icons / text
grain0.18paper grain amount
sway1.5idle sway in degrees
paper"#E9DCC3"desk paper colour
background"paper""paper" or "transparent" (overlay)

Notes & credits

Technique sources:

  • lemo-opuscar styles/paper-popup (MIT code, CC BY 4.0 docs, LemoLab) — demo/paper.js finishCut, cutmesh.js