Opus Motion ★ Star on GitHub

Shapes · hex-comb-build

Hex comb build

Cream wax hexagon edges grow segment by segment with node balls and compass-circle previews, cells fill with honey colours, wax caps spiral shut and the comb tilts into extruded prisms.

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

Hex comb build: three frames of the shape animation, start, middle and end
Hex comb build — start, middle and end of the 6.7-second motion.

What Hex comb build is for

Building a system cell by cell, modular growth, teamwork / hive, filling a grid of slots.

  • honeycomb
  • hexagon
  • build
  • grid
  • growth
  • bee

Details

Category
Shape & geometric animations
Length
6.7 s (200 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
background waxColor guideColor ghostColor cellColors
Mood
dark, nature
Roles
subject
Pairs with
Compass geometry construct, Number counter, Glyph-orbit logo build

Use Hex comb build in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render hex-comb-build --props '{"background":"#180F0B","waxColor":"#F2EAD8","guideColor":"#7589CB","ghostColor":"#3A2A1A","cellColors":["#E8B04A","#E8B04A","#D99A3A","#E8B04A","#E8B04A","#C8473A","#E07B2E","#D9C23A","#E8B04A","#7E9A3E","#D99A3A"]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export hex-comb-build --as mp4 --props '{"background":"#180F0B","waxColor":"#F2EAD8","guideColor":"#7589CB","ghostColor":"#3A2A1A","cellColors":["#E8B04A","#E8B04A","#D99A3A","#E8B04A","#E8B04A","#C8473A","#E07B2E","#D9C23A","#E8B04A","#7E9A3E","#D99A3A"]}'

React / Next.js

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

<MotionPlayer
  motion="hex-comb-build"
  props={{
    background: '#180F0B',
    waxColor: '#F2EAD8',
    guideColor: '#7589CB',
    ghostColor: '#3A2A1A',
    cellColors: [
      '#E8B04A',
      '#E8B04A',
      '#D99A3A',
      '#E8B04A',
      '#E8B04A',
      '#C8473A',
      '#E07B2E',
      '#D9C23A',
      '#E8B04A',
      '#7E9A3E',
      '#D99A3A',
    ],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="hex-comb-build"
  props='{"background":"#180F0B","waxColor":"#F2EAD8","guideColor":"#7589CB","ghostColor":"#3A2A1A","cellColors":["#E8B04A","#E8B04A","#D99A3A","#E8B04A","#E8B04A","#C8473A","#E07B2E","#D9C23A","#E8B04A","#7E9A3E","#D99A3A"]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "hex-comb-build",
      "props": {
        "background": "#180F0B",
        "waxColor": "#F2EAD8",
        "guideColor": "#7589CB",
        "ghostColor": "#3A2A1A",
        "cellColors": [
          "#E8B04A",
          "#E8B04A",
          "#D99A3A",
          "#E8B04A",
          "#E8B04A",
          "#C8473A",
          "#E07B2E",
          "#D9C23A",
          "#E8B04A",
          "#7E9A3E",
          "#D99A3A"
        ]
      }
    }
  ]
}

Hex comb build props

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

PropDefaultWhat it does
background"#180F0B"
waxColor"#F2EAD8"wax edge colour
guideColor"#7589CB"compass-preview circle colour
ghostColor"#3A2A1A"faint pre-existing comb outline colour
cellColors["#E8B04A","#E8B04A","#D99A3A","#E8B04A","#E8B04A","#C8473A","#E07B2E","#D9C23A","#E8B0…fill colours picked per cell (honey, pollen...)
rings2rings of cells built around the seed cell (1 = 7 cells, 2 = 19, 3 = 37)
edgeLength98hexagon edge length in u
framesPerEdge5frames each wax edge takes to grow (easeOutQuad)
edgeStagger1.6frames between edge starts
compassPreviewtruelavender compass circles preview each next cell
filltruefill finished cells with colour
caps0.25fraction of filled cells that get a spiral wax cap
extrudetrueend by tilting the comb into perspective and extruding prisms
seed6

Notes & credits

Technique sources:

  • video6 0:14.67-0:16.6
  • video6 0:09.25-0:09.92 (spiral cap)
  • video6 0:02.6-0:03.1 (prism extrude)