Opus Motion ★ Star on GitHub

Maps · flight-arcs

Flight arcs (great-circle routes)

Great-circle arcs fly between lat/lon cities on a flat map: planes (or dots) travel with a glowing trail, cities ping on arrival, a distance counter adds up.

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

Flight arcs (great-circle routes): three frames of the animated map, start, middle and end
Flight arcs (great-circle routes) — start, middle and end of the 8.0-second motion.

What Flight arcs (great-circle routes) is for

Global reach, shipping and travel routes, network/hub-and-spoke stories, "from here to there" beats; swap `routes` for any lat/lon pairs.

  • map
  • flight
  • routes
  • arcs
  • great circle
  • travel
  • logistics
  • network
  • airline
  • shipping

Details

Category
Animated maps & geo graphics
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title subtitle unit
Colour props
background land landStroke ink accent accent2
Mood
—
Roles
subject

Use Flight arcs (great-circle routes) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render flight-arcs --props '{"title":"Routes","subtitle":"Hub to hub, around the map","unit":"km flown","background":"#0B1220","land":"#17243C","landStroke":"#2F4468","ink":"#E8EEF9","accent":"#FFB454","accent2":"#4CC9F0"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export flight-arcs --as webm-alpha --props '{"title":"Routes","subtitle":"Hub to hub, around the map","unit":"km flown","background":"#0B1220","land":"#17243C","landStroke":"#2F4468","ink":"#E8EEF9","accent":"#FFB454","accent2":"#4CC9F0"}'

React / Next.js

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

<MotionPlayer
  motion="flight-arcs"
  props={{
    title: 'Routes',
    subtitle: 'Hub to hub, around the map',
    unit: 'km flown',
    background: '#0B1220',
    land: '#17243C',
    landStroke: '#2F4468',
    ink: '#E8EEF9',
    accent: '#FFB454',
    accent2: '#4CC9F0',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="flight-arcs"
  props='{"title":"Routes","subtitle":"Hub to hub, around the map","unit":"km flown","background":"#0B1220","land":"#17243C","landStroke":"#2F4468","ink":"#E8EEF9","accent":"#FFB454","accent2":"#4CC9F0"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "flight-arcs",
      "props": {
        "title": "Routes",
        "subtitle": "Hub to hub, around the map",
        "unit": "km flown",
        "background": "#0B1220",
        "land": "#17243C",
        "landStroke": "#2F4468",
        "ink": "#E8EEF9",
        "accent": "#FFB454",
        "accent2": "#4CC9F0"
      }
    }
  ]
}

Flight arcs (great-circle routes) props

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

PropDefaultWhat it does
routes[{"from":{"label":"HUB A","lat":40.5,"lon":-74},"to":{"label":"HUB B","lat":51,"lon":0}…array of {from:{lat,lon,label?}, to:{lat,lon,label?}}; the camera fits them all
title"Routes"headline, top left
subtitle"Hub to hub, around the map"line under the headline
unit"km flown"label under the distance counter
marker"plane""plane" or "dot" travelling marker
lift0.16arc height as a fraction of the route length on screen (0 = flat)
trail0.35glowing trail length as a fraction of the route
stagger18frames between route departures
travel72frames each flight takes
speed1timeline speed multiplier
startAt0frame to start at
showLabelstrueshow city labels
background"#0B1220"ocean colour or "transparent"
land"#17243C"land fill
landStroke"#2F4468"coastline + graticule colour
ink"#E8EEF9"text / plane colour
accent"#FFB454"trail + city colour
accent2"#4CC9F0"arc colour
fontFamily"stub"CSS font-family

Notes & credits

Technique sources:

  • original (round 3)