Opus Motion ★ Star on GitHub

FX · beam-clash

Beam clash

Two fighters fire white-core energy beams in their own colours that meet mid-frame in a jittering four-point star flare spraying spark streaks, with a blurred reflection on the glossy neon floor, a "DEAD EVEN!" pop and a white-out bloom at the end.

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

Beam clash: three frames of the visual effect, start, middle and end
Beam clash — start, middle and end of the 2.5-second motion.

What Beam clash is for

"Two forces are equal / competing" metaphors, head-to-head finales, energy-transfer diagrams.

  • beam
  • clash
  • energy
  • versus
  • fight
  • arcade
  • flare
  • sparks
  • duel
  • competition
  • equal
  • neon
  • whiteout
  • game

Details

Category
Visual effects & particles
Length
2.5 s (75 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
text
Colour props
leftColor rightColor
Mood
neon, night
Roles
subject

Use Beam clash in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render beam-clash --props '{"text":"DEAD EVEN!","leftColor":"#E66154","rightColor":"#3598F6"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export beam-clash --as mp4 --props '{"text":"DEAD EVEN!","leftColor":"#E66154","rightColor":"#3598F6"}'

React / Next.js

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

<MotionPlayer
  motion="beam-clash"
  props={{text: 'DEAD EVEN!', leftColor: '#E66154', rightColor: '#3598F6'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="beam-clash"
  props='{"text":"DEAD EVEN!","leftColor":"#E66154","rightColor":"#3598F6"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "beam-clash",
      "props": {
        "text": "DEAD EVEN!",
        "leftColor": "#E66154",
        "rightColor": "#3598F6"
      }
    }
  ]
}

Beam clash props

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

PropDefaultWhat it does
leftColor"#E66154"left beam / fighter colour
rightColor"#3598F6"right beam / fighter colour
contact0.5where the beams meet between the fighters (0..1)
jitter0.02contact jitter as a fraction of width
sparks16spark streaks around the flare
reflectiontrueblurred reflection on the floor
text"DEAD EVEN!"exclamation that pops in above ("" = none)
textAt22frame the exclamation pops
bloomAt68frame of the 3-frame white-out bloom (0 = none)
fighterstruedraw the two original fighters at the beam ends
graintruespray-grain speckle
seed3spark seed

Notes & credits

Technique sources:

  • video x7 21.25-23.55 s (beam clash, contact jitter, white-out) — original fighters