Opus Motion ★ Star on GitHub

3D · brick-snap-build

Brick snap build

Stop-motion macro toy bricks fly in on arcs, one per beat, and click into place with a tiny overshoot, stacking into a word (or custom voxel list) on a studded baseplate; bricks step at 12 fps while the camera glides on ones.

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

Brick snap build: three frames of the 3D motion graphic, start, middle and end
Brick snap build — start, middle and end of the 6.0-second motion.

What Brick snap build is for

"Built from the ground up" brand / product / logo builds, education and kids' content, countdowns.

  • bricks
  • toy
  • lego-like
  • build
  • stop motion
  • macro
  • 3d
  • snap
  • word
  • logo build
  • kids
  • education
  • playful
  • product

Details

Category
3D motion graphics (three.js)
Length
6.0 s (180 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
text caption
Colour props
palette background desk
Mood
3d
Roles
subject

Use Brick snap build in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render brick-snap-build --props '{"text":"BUILD","caption":"Built brick by brick.","palette":["#c91a09","#f2cd37","#0055bf","#237841","#f2f2ee"],"background":"#cfd4d8","desk":"#9b958c"}'

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

React / Next.js

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

<MotionPlayer
  motion="brick-snap-build"
  props={{
    text: 'BUILD',
    caption: 'Built brick by brick.',
    palette: ['#c91a09', '#f2cd37', '#0055bf', '#237841', '#f2f2ee'],
    background: '#cfd4d8',
    desk: '#9b958c',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="brick-snap-build"
  props='{"text":"BUILD","caption":"Built brick by brick.","palette":["#c91a09","#f2cd37","#0055bf","#237841","#f2f2ee"],"background":"#cfd4d8","desk":"#9b958c"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "brick-snap-build",
      "props": {
        "text": "BUILD",
        "caption": "Built brick by brick.",
        "palette": [
          "#c91a09",
          "#f2cd37",
          "#0055bf",
          "#237841",
          "#f2f2ee"
        ],
        "background": "#cfd4d8",
        "desk": "#9b958c"
      }
    }
  ]
}

Brick snap build props

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

PropDefaultWhat it does
text"BUILD"word built from bricks via a 5×7 pixel font (A–Z 0–9, ♥)
bricks[]custom brick list [{x,y,z,w,d,h,color}] in stud units (y up, h 1.2 = brick); overrides text
palette["#c91a09","#f2cd37","#0055bf","#237841","#f2f2ee"]brick colours
colorBy"letter"letter = one colour per letter, row = per row stripes, random = scattered
beatFrames2frames between brick landings
startAt10frame the first brick lands
stepFps12stop-motion stepping of brick movement (12 = on twos at 24)
background"#cfd4d8"studio wall colour
desk"#9b958c"desk colour
caption"Built brick by brick."subtitle pill under the build (empty = none)
seed3flight path / colour seed

Notes & credits

Technique sources:

  • lemo-opuscar styles/brick-toy demo/bricks.js, main.js (MIT, LemoLab)
  • analysis/sources/lemo-styles-a.md §6 brick-snap-build