Opus Motion ★ Star on GitHub

Worlds · outrun-grid

Outrun grid

One-point-perspective neon floor grid scrolling toward the camera to a hot horizon, a banded retro sun with scrolling cut-out stripes, ridged wireframe mountains, palm silhouettes and reflector posts whipping past, a starry sky with a shooting star and a tail-lit car; beats fire a bright shock line across the floor and pump the sun.

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

Outrun grid: three frames of the animated background, start, middle and end
Outrun grid — start, middle and end of the 6.0-second motion.

What Outrun grid is for

Retro / synthwave backdrop for music, gaming and 80s-themed promos, or a website hero loop (export to webm on mobile).

  • synthwave
  • outrun
  • retrowave
  • 80s
  • neon
  • grid
  • sun
  • mountains
  • palm
  • perspective
  • road
  • music
  • gaming
  • background
  • loop
  • vaporwave
  • horizon

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
no
Seamless loop
no
Text props
—
Colour props
gridColor glowColor sunColors skyColors
Mood
neon, blueprint, pixel, nature, night
Roles
backdrop

Use Outrun grid in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render outrun-grid --props '{"gridColor":"#ff3fb4","glowColor":"#35e8ff","sunColors":["#ffe45e","#ff7a3d","#ff2f8e"],"skyColors":["#0a0220","#3b0a63","#c2146f"]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export outrun-grid --as mp4 --props '{"gridColor":"#ff3fb4","glowColor":"#35e8ff","sunColors":["#ffe45e","#ff7a3d","#ff2f8e"],"skyColors":["#0a0220","#3b0a63","#c2146f"]}'

React / Next.js

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

<MotionPlayer
  motion="outrun-grid"
  props={{
    gridColor: '#ff3fb4',
    glowColor: '#35e8ff',
    sunColors: ['#ffe45e', '#ff7a3d', '#ff2f8e'],
    skyColors: ['#0a0220', '#3b0a63', '#c2146f'],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="outrun-grid"
  props='{"gridColor":"#ff3fb4","glowColor":"#35e8ff","sunColors":["#ffe45e","#ff7a3d","#ff2f8e"],"skyColors":["#0a0220","#3b0a63","#c2146f"]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "outrun-grid",
      "props": {
        "gridColor": "#ff3fb4",
        "glowColor": "#35e8ff",
        "sunColors": [
          "#ffe45e",
          "#ff7a3d",
          "#ff2f8e"
        ],
        "skyColors": [
          "#0a0220",
          "#3b0a63",
          "#c2146f"
        ]
      }
    }
  ]
}

Outrun grid props

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

PropDefaultWhat it does
speed22floor travel speed in world units per second (it ramps in over the first second)
gridColor"#ff3fb4"floor grid colour
glowColor"#35e8ff"mountain / palm rim colour
sunColors["#ffe45e","#ff7a3d","#ff2f8e"]sun gradient top, middle, bottom
skyColors["#0a0220","#3b0a63","#c2146f"]sky gradient zenith, mid, horizon
sunRise40frames for the sun to rise
mountainstrueridged wireframe mountains
palmstruepalm silhouettes whipping past
poststruereflector posts along the road
pulses[50,95,140]frames of kick hits: shock line across the floor + sun pump
cartruetail-lit car from behind
stars110number of stars
horizonY0.52horizon height as a fraction of the frame
seed5mountain / star seed

Notes & credits

Technique sources:

  • mg-styles-15 demos/10-synthwave/index.html (MIT); video 1-4 s