Opus Motion ★ Star on GitHub

Worlds · topdown-terrain

Top-down terrain scroll

Bird’s-eye view: a fixed paper crane (with hatched cast shadow and streaming dashed trail) flies over seeded top-down terrain — fields, river and town roofs, ocean with a whale breach, desert dunes, snowy peaks, night city, autumn forest — that scrolls diagonally with a speed ramp and hard-cuts between biomes.

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

Top-down terrain scroll: three frames of the animated background, start, middle and end
Top-down terrain scroll — start, middle and end of the 8.0-second motion.

What Top-down terrain scroll is for

Journeys and "around the world" montages, travel/progress beats, map-like transitions under a hero.

  • map
  • aerial
  • travel
  • journey
  • montage
  • terrain
  • crane

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
no
Text props
—
Colour props
trailColor
Image props
heroSrc
Mood
mid, paper, nature
Roles
backdrop
Pairs with
Map route, Chapter header, Number counter

Use Top-down terrain scroll in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render topdown-terrain --props '{"trailColor":"#8688ad","heroSrc":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export topdown-terrain --as mp4 --props '{"trailColor":"#8688ad","heroSrc":""}'

React / Next.js

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

<MotionPlayer
  motion="topdown-terrain"
  props={{trailColor: '#8688ad', heroSrc: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="topdown-terrain"
  props='{"trailColor":"#8688ad","heroSrc":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "topdown-terrain",
      "props": {
        "trailColor": "#8688ad",
        "heroSrc": ""
      }
    }
  ]
}

Top-down terrain scroll props

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

PropDefaultWhat it does
biomes["farmland","ocean","desert","snow","city","forest"]list of biomes: farmland | ocean | desert | snow | city | forest
montagetruehard-cut through all biomes (true) or scroll only the first one (false)
speed8ground speed in px per frame at 1080 (8 = source farmland speed)
speedRamp1.96speed multiplier reached at the end (1.96 = 8 -> 15.7 px/f as in the source)
angle40flight heading in degrees clockwise from up (terrain moves the opposite way)
hero"crane""crane" (procedural paper crane) or "none"
heroSrc""optional public/ image path used as the hero instead of the crane
heroSize165hero half-wingspan in u
shadowtruehatched cast shadow under the hero
trailtruedashed flight trail behind the hero
trailColor"#8688ad"trail colour
grain0.06paper grain opacity
seed"journey"terrain seed

Notes & credits

Technique sources:

  • video1 0:18-0:28 topdown-terrain-scroll
  • video1 0:18-0:28 biome-hardcut-montage