Image looks · light-sweep
Night light sweep
Cinematic night lighting: headlights sweep across a rain-streaked window, sodium street lamps flicker on with volumetric cones through rain, or a door opens and floods a corridor floor with light and a long shadow.
A free, MIT-licensed image effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Night light sweep is for
Mood beats in night scenes: a car passing, arriving somewhere at night, a reveal of someone at the door.
Details
- Category
- Image looks & photo effects
- Length
- 5.0 s (150 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- medium
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
colorlampColorlightColorbands- Image props
src- Mood
- dark, neon, photo, cinematic, nature, night
- Roles
- backdrop
- Pairs with
- Rain, Film finishing stack, Story caption box
Use Night light sweep in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add light-sweep --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render light-sweep --props '{"color":"#E8F4FF","lampColor":"#F0904F","lightColor":"#FFE6B8","bands":["#FF3DB4","#2FE6FF","#FFC93D"],"src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export light-sweep --as mp4 --props '{"color":"#E8F4FF","lampColor":"#F0904F","lightColor":"#FFE6B8","bands":["#FF3DB4","#2FE6FF","#FFC93D"],"src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="light-sweep"
props={{
color: '#E8F4FF',
lampColor: '#F0904F',
lightColor: '#FFE6B8',
bands: ['#FF3DB4', '#2FE6FF', '#FFC93D'],
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="light-sweep"
props='{"color":"#E8F4FF","lampColor":"#F0904F","lightColor":"#FFE6B8","bands":["#FF3DB4","#2FE6FF","#FFC93D"],"src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "light-sweep",
"props": {
"color": "#E8F4FF",
"lampColor": "#F0904F",
"lightColor": "#FFE6B8",
"bands": [
"#FF3DB4",
"#2FE6FF",
"#FFC93D"
],
"src": ""
}
}
]
}Night light sweep props
24 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
src | "" | public/ image for the outside view (window / street / doorway); empty = procedural night (dawn for door) |
seed | 1 | procedural plate / rain / droplet seed |
mode | "headlight" | headlight | streetlamp | door | reveal (dim picture lit by a passing soft diagonal band of light) | neon (bands of coloured light slide across a held picture) |
color | "#E8F4FF" | headlight beam colour |
beamSpread | 20 | headlight wedge spread in degrees (20) |
rain | 0.8 | rain density multiplier (0 = dry) |
lamps | 3 | streetlamp: number of lamps |
lampColor | "#F0904F" | streetlamp: sodium colour (#F0904F) |
lightColor | "#FFE6B8" | door: light colour (#FFE6B8) |
figure | true | door: a figure steps into the doorway and casts a long shadow |
push | 1 | slow push-in in %/s |
grain | 0.08 | film grain amount |
sweepStart | 10 | reveal: frame the sweep starts |
sweepFrames | 39 | reveal: frames the sweep takes (~1.3 s = 39) |
base | 0.07 | reveal: brightness of the unlit picture (0.07) |
soft | 0.26 | reveal: band softness as a fraction of the sweep (0.26) |
angle | 0.62 | reveal: band tilt in radians (0.62) |
glint | 0.2 | reveal: glint riding the front, 0 = none (<= 0.2) |
keep | true | reveal: stay lit after the band passes (false = the band lights only what it covers) |
bands | ["#FF3DB4","#2FE6FF","#FFC93D"] | neon: band colours (magenta / cyan / gold) |
bandDir | "ltr" | neon: ltr | rtl |
bandFrames | 24 | neon: frames one band takes to cross |
bandWidth | 0.16 | neon: band width as a fraction of the frame diagonal |
palette | "night" | procedural plate palette when no src (dusk | night | dawn) |
Related motions

Rain
Moody/rainy ambience under any scene; set background "transparent" to lay rain over footage, glass: true for a window POV.
rain
Film finishing stack
Making any still or scene feel shot on film; a final pass over composites; a flare accent on a light source.
film-look
Story caption box
Story narration, game cutscene text, timeline time-stamps and location/time chyrons.
story-caption-box
Embers & gold flecks
Warmth, fire, magic, craft/forge or luxury beats; drop over any dark scene as an additive ambience layer.
embers
Wash arrival
"Colour follows the product / runner / sunrise" storytelling, sketch → finished-render reveals for architecture and real estate,…
wash-arrival
Brush-stroke reveal
Ink / painterly titles, heritage and cultural stories, festival greetings, art-brand reveals: pass `src` and `title`, or your own…
brush-stroke-reveal
Notes & credits
Technique sources:
- video16 0:56.5-0:57.6 headlight-sweep
- video16 light-cone-volumetric + rain-overlay
- video16 door-light-flood