Opus Motion ★ Star on GitHub

FX · electric-arcs

Electric arcs

Jagged white-core lightning arcs with violet glow, re-randomised every 1-2 frames with drop-outs and brightness flashes, radiating from a plasma orb, jumping between two electrodes or crawling around an object. Overlay-ready: background "transparent".

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

Electric arcs: three frames of the visual effect, start, middle and end
Electric arcs — start, middle and end of the 3.0-second motion.

What Electric arcs is for

Energy, power, surges, sci-fi, "electrifying" ideas; around mode electrifies a logo or product.

  • electric
  • lightning
  • energy
  • sci-fi
  • flicker
  • overlay
  • fx

Details

Category
Visual effects & particles
Length
3.0 s (90 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
background color glowColor
Mood
dark, night
Roles
accent
Pairs with
Stamp slam + keyword pop, Glitch image bursts, Zoom-through tunnel

Use Electric arcs in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render electric-arcs --props '{"background":"#0d1018","color":"#ffffff","glowColor":"#b48cff"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export electric-arcs --as webm-alpha --props '{"background":"#0d1018","color":"#ffffff","glowColor":"#b48cff"}'

React / Next.js

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

<MotionPlayer
  motion="electric-arcs"
  props={{background: '#0d1018', color: '#ffffff', glowColor: '#b48cff'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="electric-arcs"
  props='{"background":"#0d1018","color":"#ffffff","glowColor":"#b48cff"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "electric-arcs",
      "props": {
        "background": "#0d1018",
        "color": "#ffffff",
        "glowColor": "#b48cff"
      }
    }
  ]
}

Electric arcs props

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

PropDefaultWhat it does
background"#0d1018"scene colour; 'transparent' = overlay (no orb / electrodes)
x0.5arc origin x (0..1) — orb centre or first electrode
y0.47arc origin y (0..1)
delay0frame the arcs switch on
mode"radial"radial (out of an object edge) | between (x,y) and (x2,y2) | around (crawling over the object surface)
x20.75between mode: second point x (0..1)
y20.5between mode: second point y (0..1)
count14number of arcs (10-20)
reach0.46radial mode: max arc length as a fraction of the short side
radius120object radius in u (arcs start at its edge)
holdFrames2regenerate every N frames (1-2)
levels6midpoint-displacement recursion levels (5-6)
jaggedness0.25displacement factor (0.25 = source)
branchestrueadd short forks off the arcs
color"#ffffff"arc core colour
glowColor"#b48cff"glow colour
coreWidth2core stroke width in u
flashestruerandom full-frame brightness flashes
rampIn8frames to power up
rampOut12frames to power down at the end
showSubjecttruedraw the plasma orb / electrodes (scene mode only)
seed7random seed

Notes & credits

Technique sources:

  • video2 electric-arc-flicker