FX · beat-punch-zoom
Beat punch zoom
Music-synced camera kick: the whole frame punches a few percent toward a chosen point on every accent (ticks, hits, slams at different amplitudes, summed and capped) and relaxes in ~5 frames. Demo: a candy sunburst stage where a toy star squashes on each slam with a star-ring-lines burst; or feed any image with src.
A free, MIT-licensed visual effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Beat punch zoom is for
Universal music-energy layer for promos, recaps and social cuts; wrap any footage, image or composition in beat punches.
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
word- Colour props
huebackground- Image props
src- Mood
- photo, nature
- Roles
- subject
Use Beat punch zoom in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add beat-punch-zoom --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render beat-punch-zoom --props '{"word":"Perfect!","hue":"#3FB8AF","background":"#26264A","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export beat-punch-zoom --as mp4 --props '{"word":"Perfect!","hue":"#3FB8AF","background":"#26264A","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="beat-punch-zoom"
props={{word: 'Perfect!', hue: '#3FB8AF', background: '#26264A', src: ''}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="beat-punch-zoom"
props='{"word":"Perfect!","hue":"#3FB8AF","background":"#26264A","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "beat-punch-zoom",
"props": {
"word": "Perfect!",
"hue": "#3FB8AF",
"background": "#26264A",
"src": ""
}
}
]
}Beat punch zoom props
13 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
bpm | 150 | tempo of the accent grid |
pattern | "S.t.h.t." | one char per eighth note, looped: 'S' slam, 'h' hit, 't' tick, '.' rest |
tick | 0.008 | tick punch amplitude |
hit | 0.02 | hit punch amplitude |
slam | 0.045 | slam punch amplitude |
cap | 0.06 | cap on summed simultaneous punches (frame edges never show) |
originX | 0.5 | punch origin x (0..1 of width) |
originY | 0.5 | punch origin y (0..1 of height) |
src | "" | optional image (public/ path or URL) that receives the punches instead of the demo stage |
overlayDemo | true | draw the candy demo stage when src is empty |
hue | "#3FB8AF" | demo stage hue |
word | "Perfect!" | demo judgement word |
background | "#26264A" | colour behind everything |
Related motions

Beat grid (music clock HUD)
Music-production / DJ / metronome visuals, “how the edit is cut to the beat” explainers, a beat HUD overlay; feed it your song’s `beats`…
beat-grid
Beat pulse rings (bpm grid)
Beat-synced hooks and drops, DJ / club / radio promos, metronome and tempo explainers, heartbeat or sonar-style attention pulses behind a…
beat-pulse-rings
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
Lyric video (karaoke + beat)
Lyric videos, word-synced song captions, music promos: pass `lyrics` (word timings) or just `lines` + `bpm`/`offsetSec`.
lyric-video
Beat camera (snap reframes)
Makes any static motion feel edited to music — wrap a scene in a `mix` with this on top, or use it as the demo explains; promos, recaps,…
beat-camera
Notes & credits
Technique sources:
- lemo-opuscar styles/game-show (MIT, LemoLab) — demo/main_v1.js punch(), main_b.js camera; also used by halftone-dossier