Opus Motion ★ Star on GitHub

3D · shockwave-flip-field

Shockwave flip field

A heavy chrome ball glides in, hangs for a beat, then slams into a bed of two-tone candy capsules: a shock front races outward and every pill it reaches leaps, tumbles half a turn and lands showing its other colour — the whole field recolours as the ring passes, nearby pills fly off frame, the camera kicks and the moment plays in brief slow motion.

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

Shockwave flip field: three frames of the 3D motion graphic, start, middle and end
Shockwave flip field — start, middle and end of the 6.0-second motion.

What Shockwave flip field is for

A hero "state change" beat: brand colour takeover, before/after, launch moments; strong for idents and thumbnails.

  • shockwave
  • flip
  • colour takeover
  • before after
  • impact
  • chrome ball
  • slam
  • candy
  • pills
  • soft 3d
  • slow motion
  • hero moment
  • ident
  • three.js
  • instanced
  • mg-styles-15
  • soft-3d-candy

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
—
Colour props
background capColor flipColor ballColor rimColor
Mood
3d
Roles
subject

Use Shockwave flip field in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render shockwave-flip-field --props '{"background":"#F1E4EC","capColor":"#EBDCCD","flipColor":"#C6B9F3","ballColor":"#C9CAD6","rimColor":"#FF6FAE"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export shockwave-flip-field --as mp4 --props '{"background":"#F1E4EC","capColor":"#EBDCCD","flipColor":"#C6B9F3","ballColor":"#C9CAD6","rimColor":"#FF6FAE"}'

React / Next.js

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

<MotionPlayer
  motion="shockwave-flip-field"
  props={{
    background: '#F1E4EC',
    capColor: '#EBDCCD',
    flipColor: '#C6B9F3',
    ballColor: '#C9CAD6',
    rimColor: '#FF6FAE',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="shockwave-flip-field"
  props='{"background":"#F1E4EC","capColor":"#EBDCCD","flipColor":"#C6B9F3","ballColor":"#C9CAD6","rimColor":"#FF6FAE"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "shockwave-flip-field",
      "props": {
        "background": "#F1E4EC",
        "capColor": "#EBDCCD",
        "flipColor": "#C6B9F3",
        "ballColor": "#C9CAD6",
        "rimColor": "#FF6FAE"
      }
    }
  ]
}

Shockwave flip field props

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

PropDefaultWhat it does
background"#F1E4EC"cyc colour
capColor"#EBDCCD"pill colour before the flip (cream)
flipColor"#C6B9F3"pill colour after the flip (the takeover colour)
ballColor"#C9CAD6"chrome ball tint
rimColor"#FF6FAE"pink rim-light colour
impactAt1.6seconds until the slam
impact[0,-1][x, z] impact point in world units
speed5shock front speed (units per second)
flingRatio0.35fraction of nearby pills that fly off frame
slowMotruebrief 0.35x slow-mo just after the hit, then catch-up
cols76pills across
rows56pills deep
graintruefilm grain + vignette finish
seed1unused variation seed (kept for spec compatibility)

Notes & credits

Technique sources:

  • mg-styles-15 04-3d-render 5.6-7.8 s, blender/sim.py + cues.json ball/shock (MIT, Vincentwei1021) — technique after mg-styles-15