Opus Motion ★ Star on GitHub

FX · frame-blend-timelapse

Frame-blend time-lapse

A keyed speed ramp (1x to 70x and a hard brake to 0.3x) integrated to source time, each frame an average of blended sub-frames: headlights become continuous lines, clouds turn to water, the sky runs through the day, then everything snaps sharp.

A free, MIT-licensed visual effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Frame-blend time-lapse: three frames of the visual effect, start, middle and end
Frame-blend time-lapse — start, middle and end of the 6.0-second motion.

What Frame-blend time-lapse is for

Hyperlapse and time-lapse looks, "time flies" beats, light-trail backgrounds; the same speed-integration + sub-frame-average recipe applies to any procedural child.

  • timelapse
  • hyperlapse
  • speed ramp
  • frame blend
  • motion blur
  • light trails
  • headlights
  • shutter
  • time flies
  • city
  • day to night
  • wrapper

Details

Category
Visual effects & particles
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
background
Image props
src
Mood
nature, night
Roles
subject

Use Frame-blend time-lapse in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add frame-blend-timelapse --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render frame-blend-timelapse --props '{"background":"#070B1C","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export frame-blend-timelapse --as mp4 --props '{"background":"#070B1C","src":""}'

React / Next.js

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

<MotionPlayer
  motion="frame-blend-timelapse"
  props={{background: '#070B1C', src: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="frame-blend-timelapse"
  props='{"background":"#070B1C","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "frame-blend-timelapse",
      "props": {
        "background": "#070B1C",
        "src": ""
      }
    }
  ]
}

Frame-blend time-lapse props

12 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
speedKeys[[0,1],[0.8,1],[1.6,30],[3.6,70],[4.4,2.2],[4.95,0.3]]speed keyframes [[seconds, multiplier], ...] — smoothstep (log-space) between keys; 0.3 - 75
blend20cap on sub-frames averaged per output frame (8 - 30)
shutter1fraction of the frame interval that is sampled (1 = 360 degrees; ~0.4 for noon clouds)
lanes4road lanes (even number, half each way)
hourStart14clock hour at source time zero (the sky and window lights follow it)
showHudtruespeed / clock / curve readout
src""optional still image (public/) used as the sky + skyline plate behind the road
seed4seed for buildings, clouds and cars
background"#070B1C"fallback background
speedLine"SPEED · {n} SUB-FRAME{s} BLENDED"HUD line; {n} = sub-frames blended, {s} = "S" when more than one
clockLabel"SOURCE CLOCK"caption under the source clock readout
curveLabel"0.3× – 80× SPEED CURVE"caption under the speed-curve graph

Notes & credits

Technique sources:

  • lemo-opuscar styles/city-symphony/demo/tools/prep.py (MIT, LemoLab); STYLE.md sections 5 and 8