Opus Motion ★ Star on GitHub

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.

City skyline (window flicker, dusk to night): three frames of the animated background, start, middle and end
City skyline (window flicker, dusk to night) — start, middle and end of the 7.0-second motion.

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.

  • city
  • skyline
  • night
  • windows
  • urban
  • pullback
  • lights-on
  • electrification
  • network
  • growth
  • cadence

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

terminal
# 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

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="city-skyline"
  props={{windowColor: '#f2d27a'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="city-skyline"
  props='{"windowColor":"#f2d27a"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "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.

PropDefaultWhat it does
style"flat""flat" dusk/night silhouettes or "sketch" hatched pencil-on-paper (video20)
pullbacktruestart close on one window and crane back to the whole city
pullFrom0frame the pull-back starts
pullFrames105pull-back length (bezier .4,0,.2,1)
toNighttruesky grades from dusk to night while windows switch on (flat style)
litRatio0.55share of windows lit at full night
stepFrames5frames between window flicker steps (5 = 0.17 s)
windowColor"#f2d27a"lit window colour
traffictruecars 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)
lightsStart20sequence: first frame a window can light
lightsSpan110sequence: frames over which all windows have lit
cadence3sequence: lighting steps every N frames (2-4 = steady cadence; match the beat)
glowColor""sequence: lit window / glow colour (empty = windowColor)

Notes & credits

Technique sources:

  • video20 3:16-3:36 procedural-sketch-city + crane-pullback-reveal
  • video2 window-grid-flicker