Opus Motion ★ Star on GitHub

3D · globe-3d

Globe (3D, day/night, arcs)

A shaded three.js Earth (procedural land and ocean, soft day/night terminator with warm city lights, atmosphere rim) turns slowly; glowing arcs lift off the surface and fly between cities along great circles with pulsing markers and name labels, then the camera swings to a focus lat/lon and zooms in with a coordinates caption.

A free, MIT-licensed 3D motion graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Globe (3D, day/night, arcs): three frames of the 3D motion graphic, start, middle and end
Globe (3D, day/night, arcs) — start, middle and end of the 8.0-second motion.

What Globe (3D, day/night, arcs) is for

Global reach stats, travel and logistics routes, climate and space explainers, "we ship worldwide" beats. Use `textureSrc` for a real equirectangular map; set `background: "transparent"` to overlay.

  • globe
  • earth
  • world
  • map
  • arcs
  • flights
  • routes
  • logistics
  • travel
  • global
  • night lights
  • terminator
  • atmosphere
  • three.js
  • 3d
  • geo
  • cities
  • shipping
  • zoom
  • overlay
  • space

Details

Category
3D motion graphics (three.js)
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
heavy (three.js / WebGL — export to video for mobile)
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
background backgroundEdge oceanColor landColor atmosphereColor arcColor markerColor lightColor
Mood
3d, nature, editorial, night
Roles
accent, subject

Use Globe (3D, day/night, arcs) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render globe-3d --props '{"background":"#04070f","backgroundEdge":"#0d1b3a","oceanColor":"#0f3b78","landColor":"#3f8a4d","atmosphereColor":"#6cb6ff","arcColor":"#ffc65a","markerColor":"#ffe9a8","lightColor":"#ffc873"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export globe-3d --as webm-alpha --props '{"background":"#04070f","backgroundEdge":"#0d1b3a","oceanColor":"#0f3b78","landColor":"#3f8a4d","atmosphereColor":"#6cb6ff","arcColor":"#ffc65a","markerColor":"#ffe9a8","lightColor":"#ffc873"}'

React / Next.js

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

<MotionPlayer
  motion="globe-3d"
  props={{
    background: '#04070f',
    backgroundEdge: '#0d1b3a',
    oceanColor: '#0f3b78',
    landColor: '#3f8a4d',
    atmosphereColor: '#6cb6ff',
    arcColor: '#ffc65a',
    markerColor: '#ffe9a8',
    lightColor: '#ffc873',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="globe-3d"
  props='{"background":"#04070f","backgroundEdge":"#0d1b3a","oceanColor":"#0f3b78","landColor":"#3f8a4d","atmosphereColor":"#6cb6ff","arcColor":"#ffc65a","markerColor":"#ffe9a8","lightColor":"#ffc873"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "globe-3d",
      "props": {
        "background": "#04070f",
        "backgroundEdge": "#0d1b3a",
        "oceanColor": "#0f3b78",
        "landColor": "#3f8a4d",
        "atmosphereColor": "#6cb6ff",
        "arcColor": "#ffc65a",
        "markerColor": "#ffe9a8",
        "lightColor": "#ffc873"
      }
    }
  ]
}

Globe (3D, day/night, arcs) props

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

PropDefaultWhat it does
points[{"name":"London","lat":51.5,"lon":-0.1},{"name":"New York","lat":40.7,"lon":-74},{"nam…[{name, lat, lon, color?}] markers (only points used by an arc get a marker/label)
arcs[{"from":"Dubai","to":"Singapore","at":10},{"from":"Nairobi","to":"Dubai","at":34},{"fr…[{from, to, at?, color?}] great-circle flights; from/to are point names or indexes, at = start frame
focus{"lat":49,"lon":9,"at":140,"label":"Europe","zoom":1.45}{lat, lon, at, label?, zoom?} camera swings and zooms to this place from frame `at`; null = never
textureSrc""optional equirectangular day-map image (public/ path or URL); empty = procedural Earth
background"#04070f"backdrop outer colour ("transparent" to overlay the globe on your own scene)
backgroundEdge"#0d1b3a"backdrop centre glow colour
oceanColor"#0f3b78"deep ocean colour
landColor"#3f8a4d"lowland colour
atmosphereColor"#6cb6ff"atmosphere rim colour
arcColor"#ffc65a"arc / caption accent colour
markerColor"#ffe9a8"marker colour
nightLightstrueshow city lights on the night side
lightColor"#ffc873"city-light colour
spin9rotation speed, degrees per second (eastward)
startLon60longitude facing the camera at frame 0
tilt18camera latitude (degrees above the equator)
labelstrueshow city name labels
starstruedraw a faint starfield behind the globe
size1globe size multiplier (1 = about 80% of the short side)

Notes & credits

Technique sources:

  • prompt corpus x25 (globe with arcs, terminator, focus zoom)
  • original coarse coastline data