Worlds · lightning-flash
Lightning flash relight
A rainy night house scene is relit by lightning: a forked bolt draws on, the frame flashes to a pink storm-lit plate for 2 frames and decays back to night in ~0.3 s; repeatable, with double strikes. Overlay-capable.
A free, MIT-licensed animated background from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Lightning flash relight is for
Drama, shock, revelation or horror punctuation; a storm establishing shot; overlay the flash + bolt on any night footage.
Details
- Category
- Animated worlds & backdrops
- Length
- 5.0 s (150 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
- —
- Colour props
backgroundboltColorglowColorflashColor- Mood
- dark, nature, night
- Roles
- backdrop, accent
- Pairs with
- Rain, Stamp slam + keyword pop, Glitch image bursts
Use Lightning flash relight in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add lightning-flash --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render lightning-flash --props '{"background":"#04080F","boltColor":"#FFFFFF","glowColor":"#C9A8FF","flashColor":"#E8C6E0"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export lightning-flash --as webm-alpha --props '{"background":"#04080F","boltColor":"#FFFFFF","glowColor":"#C9A8FF","flashColor":"#E8C6E0"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="lightning-flash"
props={{
background: '#04080F',
boltColor: '#FFFFFF',
glowColor: '#C9A8FF',
flashColor: '#E8C6E0',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="lightning-flash"
props='{"background":"#04080F","boltColor":"#FFFFFF","glowColor":"#C9A8FF","flashColor":"#E8C6E0"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "lightning-flash",
"props": {
"background": "#04080F",
"boltColor": "#FFFFFF",
"glowColor": "#C9A8FF",
"flashColor": "#E8C6E0"
}
}
]
}Lightning flash relight props
13 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
background | "#04080F" | CSS background; "transparent" = overlay (bolt + screen flash + rain only) |
backdrop | true | paint the night house scene and its lit plate |
strikes | [28,104] | frames where lightning strikes |
sheetFlashes | [66] | frames of distant cloud-only flickers (no bolt, ~0.35 intensity) |
holdFrames | 2 | frames the flash holds at full brightness |
decay | 0.1 | exponential decay time constant in seconds (0.1 = source) |
doubleStrike | true | second flash 3 frames after the hold at 0.6 intensity |
rain | true | rain streaks (brighten during the flash) |
boltColor | "#FFFFFF" | bolt core colour |
glowColor | "#C9A8FF" | bolt glow colour |
flashColor | "#E8C6E0" | overlay-mode flash tint |
shake | 6 | camera jolt in px on strike frames |
seed | 1 | random seed (changes bolt shapes) |
Related motions

Rain
Moody/rainy ambience under any scene; set background "transparent" to lay rain over footage, glass: true for a window POV.
rain
Stamp slam + keyword pop
Hard facts, place/date stamps, verdicts and single-word emphasis beats.
stamp-slam
Glitch image bursts
Beat hits, "system error" / hacked moments, energetic transitions between stills, music-video accents.
glitch-image
Aurora curtain
Polar / night / wonder / title-card backdrops; transparent overlay for any night sky.
aurora
City rooftops rain window
Moody lo-fi / study-beats / podcast backdrops, melancholy or cosy titles, noir and thriller scenes, weather and "rainy day" content,…
city-rooftops-rain-window
Starfield night
Calm night / sleep / dream / wish beats, end cards and quiet intros; transparent overlay for stars over any sky.
starfield-night
Notes & credits
Technique sources:
- video16 52.72-53.20, 80.72-81.10