FX · mix
Mix (layer motions together)
Stacks any motions in one frame: backdrop + subject + text + accent, each with its own timing, opacity and blend mode. Per-layer extras: knock-out halo, beat breathe (squash/stretch on the beat) and stop-motion stepping / boil.
A free, MIT-licensed visual effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Mix (layer motions together) is for
Building a richer shot out of several motions at once (e.g. aurora sky + neon sign + embers, or a photo look + callouts + captions).
Details
- Category
- Visual effects & particles
- Length
- 6.0 s (180 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
background- Mood
- dark
- Roles
- mix
Use Mix (layer motions together) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add mix --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render mix --props '{"background":"#05070d"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export mix --as mp4 --props '{"background":"#05070d"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="mix"
props={{background: '#05070d'}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="mix"
props='{"background":"#05070d"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "mix",
"props": {
"background": "#05070d"
}
}
]
}Mix (layer motions together) props
2 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
background | "#05070d" | colour under all layers |
layers | [{"motion":"aurora","props":{"pixelSize":0}},{"motion":"blur-in-title","from":24,"props… | [{motion, props?, from?, duration?, offset?, opacity?, blend?, scale?, x?, y?, style?, halo?, breathe?, stepFps?, jitterPx?, jitterDeg?, boilFps?}] bottom to top. Extras: halo {size px, color, stamps} knock-out rim; breathe {amp 0.06, bpm | beatFrames, phase, onTwos, pivot bottom|center|top, peak [{from,to,mult}], freeze [{from,to}]} squash/stretch on the beat; stepFps (quantise the layer to N fps, e.g. 12), jitterPx / jitterDeg (seeded per-step wobble), boilFps (boil clock) |
Related motions

Beat punch zoom
Universal music-energy layer for promos, recaps and social cuts; wrap any footage, image or composition in beat punches.
beat-punch-zoom
Circuit traces
"AI / tech layer over the real world" overlay on maps, photos and product shots; background texture that says "computed".
circuit-traces
Crayon wax shader
A hand-made crayon style layer for kids content, picture books, greeting cards; turn a photo into a crayon drawing.
crayon-wax-shader
Data view flash
Rhythmic "under the hood / what the AI sees" accents; hiding hard cuts on music beats.
data-view-flash
Impact frame (flash, shake, punch)
Beat drops, fight and comedy shorts, stat slams, game trailers. Set `scene: false` and `background: "transparent"` to lay the flash +…
impact-frame
Registration snap (loose print layers clamp)
The "everything locks into place" beat before a date, price or launch fact; multi-plane parallax that does not look like moving mountains.
registration-snap
Notes & credits
Technique sources:
- library