Worlds · city-rooftops-rain-window
City rooftops rain window
A rainy window over a defocused city: blurred rooftops with lit windows, soft bokeh lights, thin rain outside, and fogged glass with clinging beads and larger drops that slide down leaving trails; loops seamlessly, night / dusk / dawn / day palettes and a custom light colour list.
A free, MIT-licensed animated background from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What City rooftops rain window is for
Moody lo-fi / study-beats / podcast backdrops, melancholy or cosy titles, noir and thriller scenes, weather and "rainy day" content, city-life brand heroes; add a title or put your own UI over the glass.
Details
- Category
- Animated worlds & backdrops
- Length
- 8.0 s (240 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- yes
- Text props
titlesubtitle- Colour props
lights- Mood
- dark, nature, night
- Roles
- backdrop
Use City rooftops rain window in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add city-rooftops-rain-window --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render city-rooftops-rain-window --props '{"title":"","subtitle":"","lights":["#FFB347","#FF6B6B","#6EC1FF","#FFE08A"]}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export city-rooftops-rain-window --as mp4 --props '{"title":"","subtitle":"","lights":["#FFB347","#FF6B6B","#6EC1FF","#FFE08A"]}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="city-rooftops-rain-window"
props={{
title: '',
subtitle: '',
lights: ['#FFB347', '#FF6B6B', '#6EC1FF', '#FFE08A'],
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="city-rooftops-rain-window"
props='{"title":"","subtitle":"","lights":["#FFB347","#FF6B6B","#6EC1FF","#FFE08A"]}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "city-rooftops-rain-window",
"props": {
"title": "",
"subtitle": "",
"lights": [
"#FFB347",
"#FF6B6B",
"#6EC1FF",
"#FFE08A"
]
}
}
]
}City rooftops rain window props
18 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
timeOfDay | "night" | "dawn" | "day" | "dusk" | "night" – sky and light palette preset |
skyTop | "" | override the top sky colour (hex); empty = from timeOfDay |
skyBottom | "" | override the horizon sky colour (hex); empty = from timeOfDay |
lights | ["#FFB347","#FF6B6B","#6EC1FF","#FFE08A"] | city light / lit-window / bokeh colours (hex list) |
rain | 1 | rain streaks outside the glass (0 = none) |
drops | 1 | amount of water drops on the glass (0 = clean glass) |
fog | 1 | condensation haze on the glass (0 = none) |
blur | 1 | defocus of the city behind the glass (0 = sharp) |
frame | true | dark window frame around the edges |
speed | 1 | animation speed; quantised to whole cycles per loop so the clip loops seamlessly (0 = frozen) |
density | 1 | multiplier for how many particles / elements are drawn |
seed | 9 | random seed (changes the layout, not the look) |
title | "" | optional headline over the scene (empty = none) |
subtitle | "" | optional small line under the title (empty = none) |
fontFamily | "serif" | font role ("serif", "display", "sans", "grotesk", "hand", "mono") or any CSS family for title / subtitle |
ink | "" | title / subtitle colour; empty = from timeOfDay |
titlePosition | "center" | "center" | "top" | "bottom" |
titleSize | 1 | title size multiplier |
Related motions

Firefly meadow night
Magical, cosy or calm night backdrop for bedtime stories, meditation / sleep apps, fantasy and fairytale titles, cottagecore, wedding /…
firefly-meadow-night
Rain
Moody/rainy ambience under any scene; set background "transparent" to lay rain over footage, glass: true for a window POV.
rain
City skyline (window flicker, dusk to night)
Urban establishing shots, "the city at night", time passing, ending pull-backs, backdrops behind titles.
city-skyline
Lava lamp blobs
Relaxing / lo-fi / retro-70s backdrops, music and podcast visuals, wellness and creative-brand heroes, loading and ambient screens, title…
lava-lamp-blobs
Lightning flash relight
Drama, shock, revelation or horror punctuation; a storm establishing shot; overlay the flash + bolt on any night footage.
lightning-flash
Desert dunes heat haze
Warm looping landscape backdrop for travel, adventure, Middle-East / Sahara themes, western titles, survival or thirst / heat messages,…
desert-dunes-heat
Notes & credits
Technique sources:
- original — round 3 nature backdrops