Worlds · city-skyline
City skyline (window flicker, dusk to night)
Seeded procedural city: three depth rows of buildings with setbacks, water tanks, antennas and window grids that flicker on and off; the sky goes from dusk to night as more windows light up, with traffic on the street and an optional aerial crane pull-back from one window to the whole skyline. Sketch style gives the hatched pencil-on-paper look.
A free, MIT-licensed animated background from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What City skyline (window flicker, dusk to night) is for
Urban establishing shots, "the city at night", time passing, ending pull-backs, backdrops behind titles.
Details
- Category
- Animated worlds & backdrops
- Length
- 7.0 s (210 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- medium
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
windowColor- Mood
- dark, night, cinematic
- Roles
- backdrop
- Pairs with
- Number counter, Fireworks, Rain, Neon sign ignite
Use City skyline (window flicker, dusk to night) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add city-skyline --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render city-skyline --props '{"windowColor":"#f2d27a"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export city-skyline --as mp4 --props '{"windowColor":"#f2d27a"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="city-skyline"
props={{windowColor: '#f2d27a'}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="city-skyline"
props='{"windowColor":"#f2d27a"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "city-skyline",
"props": {
"windowColor": "#f2d27a"
}
}
]
}City skyline (window flicker, dusk to night) props
15 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
style | "flat" | "flat" dusk/night silhouettes or "sketch" hatched pencil-on-paper (video20) |
pullback | true | start close on one window and crane back to the whole city |
pullFrom | 0 | frame the pull-back starts |
pullFrames | 105 | pull-back length (bezier .4,0,.2,1) |
toNight | true | sky grades from dusk to night while windows switch on (flat style) |
litRatio | 0.55 | share of windows lit at full night |
stepFrames | 5 | frames between window flicker steps (5 = 0.17 s) |
windowColor | "#f2d27a" | lit window colour |
traffic | true | cars with head/tail lights on the street |
seed | "metro" | city seed |
lightsMode | "flicker" | 'flicker' (default, windows toggle randomly) | 'sequence' (every window lights once, one by one on the cadence, with a white bloom pop, until the city glows) |
lightsStart | 20 | sequence: first frame a window can light |
lightsSpan | 110 | sequence: frames over which all windows have lit |
cadence | 3 | sequence: lighting steps every N frames (2-4 = steady cadence; match the beat) |
glowColor | "" | sequence: lit window / glow colour (empty = windowColor) |
Related motions

Fireworks
Celebrations, launches, milestones, "it worked!" beats, festive end cards.
fireworks
Rain
Moody/rainy ambience under any scene; set background "transparent" to lay rain over footage, glass: true for a window POV.
rain
Neon sign ignite
Shop/venue names, nightlife or retro beats, "open" moments and glowing titles.
neon-sign
Number counter
Depth/altitude/speed meters, growing stats, countdowns, progress percentages and scoreboards.
number-counter
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
Embers & gold flecks
Warmth, fire, magic, craft/forge or luxury beats; drop over any dark scene as an additive ambience layer.
embers
Notes & credits
Technique sources:
- video20 3:16-3:36 procedural-sketch-city + crane-pullback-reveal
- video2 window-grid-flicker