Opus Motion ★ Star on GitHub

3D · brick-rebuild-morph

Brick rebuild morph

The same set of glossy toy bricks lifts off one word and reassembles into a different one: bricks matched by size and colour arc across on staggered 8ths and snap on landing, with spare bricks flying in from bins behind the baseplate.

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

Brick rebuild morph: three frames of the 3D motion graphic, start, middle and end
Brick rebuild morph — start, middle and end of the 7.0-second motion.

What Brick rebuild morph is for

Transformation stories in a playful material: career change, before/after, rebrand, a word re-spelled.

  • bricks
  • toy
  • morph
  • rebuild
  • transformation
  • before after
  • word swap
  • stop motion
  • 3d
  • playful
  • rebrand
  • change

Details

Category
3D motion graphics (three.js)
Length
7.0 s (210 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
heavy (three.js / WebGL — export to video for mobile)
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
palette background desk
Mood
3d, ui
Roles
subject

Use Brick rebuild morph in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render brick-rebuild-morph --props '{"palette":["#c91a09","#f2cd37","#0055bf","#237841"],"background":"#cfd4d8","desk":"#9b958c"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export brick-rebuild-morph --as mp4 --props '{"palette":["#c91a09","#f2cd37","#0055bf","#237841"],"background":"#cfd4d8","desk":"#9b958c"}'

React / Next.js

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

<MotionPlayer
  motion="brick-rebuild-morph"
  props={{
    palette: ['#c91a09', '#f2cd37', '#0055bf', '#237841'],
    background: '#cfd4d8',
    desk: '#9b958c',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="brick-rebuild-morph"
  props='{"palette":["#c91a09","#f2cd37","#0055bf","#237841"],"background":"#cfd4d8","desk":"#9b958c"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "brick-rebuild-morph",
      "props": {
        "palette": [
          "#c91a09",
          "#f2cd37",
          "#0055bf",
          "#237841"
        ],
        "background": "#cfd4d8",
        "desk": "#9b958c"
      }
    }
  ]
}

Brick rebuild morph props

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

PropDefaultWhat it does
from"WORK"the first word (5×7 pixel font)
to"PLAY"the word it rebuilds into
palette["#c91a09","#f2cd37","#0055bf","#237841"]brick colours (one per letter)
morphAt52frame the morph starts
stagger2frames between brick departures
flightFrames22flight time of one brick
stepFps12stop-motion stepping of brick movement
background"#cfd4d8"studio wall colour
desk"#9b958c"desk colour
captionFrom"It spelled one thing for years…"subtitle shown with the first word
captionTo"…until we rebuilt it."subtitle shown after the rebuild
seed5matching / flight seed

Notes & credits

Technique sources:

  • lemo-opuscar styles/brick-toy "Rebuild into something else" + engine (MIT code / CC BY 4.0 docs, LemoLab)
  • analysis/sources/lemo-styles-a.md §6 brick-rebuild-morph