
Mix (layer motions together)
@opus-motion-library/mix
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.
Instalación
node cli/mgl.mjs add mix --to <your-project>/srcCuándo usarlo
- Ideal para
- Building a richer shot out of several motions at once (e.g. aurora sky + neon sign + embers, or a photo look + callouts + captions).
Especificaciones
- Duración
- 180f · 6s
- Tipo de duración
- Fija
- FPS
- 30
- Estilo
- dark
- Licencia
- MIT
Props (2)
backgroundstring= "#05070d"colour under all layers
layersarray= [{"motion":"aurora","props":{"pixelSize":0}},{"motion":"blur-in-title","from":24,"props":{"title":"NORTHERN LIGHTS","…[{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)