Worlds · rain
Rain
Night street in the rain: 3 parallax layers of slanted streaks, lamp-lit cone, ground ripples; optional glass droplets and trickles. Works as a transparent overlay.
A free, MIT-licensed animated background from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Rain is for
Moody/rainy ambience under any scene; set background "transparent" to lay rain over footage, glass: true for a window POV.
Details
- Category
- Animated worlds & backdrops
- Length
- 6.0 s (180 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
- —
- Colour props
backgroundcolorlampColorreflectionColors- Mood
- dark, neon, nature, night
- Roles
- backdrop, accent
- Pairs with
- Night light sweep, City skyline (window flicker, dusk to night), Lightning flash relight, Story caption box
Use Rain in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add rain --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render rain --props '{"background":"#060D16","color":"#C8D6E5","lampColor":"#F0904F","reflectionColors":["#4FB0F0","#F05FA0","#F0C44F"]}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export rain --as webm-alpha --props '{"background":"#060D16","color":"#C8D6E5","lampColor":"#F0904F","reflectionColors":["#4FB0F0","#F05FA0","#F0C44F"]}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="rain"
props={{
background: '#060D16',
color: '#C8D6E5',
lampColor: '#F0904F',
reflectionColors: ['#4FB0F0', '#F05FA0', '#F0C44F'],
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="rain"
props='{"background":"#060D16","color":"#C8D6E5","lampColor":"#F0904F","reflectionColors":["#4FB0F0","#F05FA0","#F0C44F"]}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "rain",
"props": {
"background": "#060D16",
"color": "#C8D6E5",
"lampColor": "#F0904F",
"reflectionColors": [
"#4FB0F0",
"#F05FA0",
"#F0C44F"
]
}
}
]
}Rain props
17 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
background | "#060D16" | CSS background; "transparent" = overlay mode (no painted street) |
backdrop | true | paint the procedural night street (sky, blocks, wet road, lamp) |
color | "#C8D6E5" | streak / ripple colour |
density | 1 | streak + ripple count multiplier (1 = 150/300/600 per 1080p frame) |
speed | 1 | fall speed multiplier (1 = 2600/1800/1200 px/s) |
angle | 8 | degrees from vertical; positive falls to the right |
layers | 3 | 1-3 parallax layers (near layer always kept) |
ripples | true | expanding ripple ellipses on the ground band |
groundY | 0.64 | fraction of height where the ground / ripple band starts |
glass | false | window-glass POV: droplets with highlights, slow trickles, backdrop blurred |
glassDrops | 40 | number of static droplets per 1080p frame |
lamp | true | street lamp with volumetric cone that lights the streaks |
lampColor | "#F0904F" | sodium lamp colour |
seed | 1 | random seed |
reflection | "none" | wet-ground reflection of the lights: none | streaks (neon-noir: blurred flipped streaks + ripple bands) | dabs (painterly stacked knife dabs, shimmering on twos) |
reflectionColors | ["#4FB0F0","#F05FA0","#F0C44F"] | colours of the extra reflected neon lights (each adds one column) |
reflectionAlpha | 1 | reflection strength multiplier |
Related motions

Lightning flash relight
Drama, shock, revelation or horror punctuation; a storm establishing shot; overlay the flash + bolt on any night footage.
lightning-flash
Night light sweep
Mood beats in night scenes: a car passing, arriving somewhere at night, a reveal of someone at the door.
light-sweep
City skyline (window flicker, dusk to night)
Urban establishing shots, "the city at night", time passing, ending pull-backs, backdrops behind titles.
city-skyline
Embers & gold flecks
Warmth, fire, magic, craft/forge or luxury beats; drop over any dark scene as an additive ambience layer.
embers
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
Notes & credits
Technique sources:
- video1 34.9-41.7
- video14 109.75-115.2
- video16 46.0-52.2, 75.9-80.1