Opus Motion ★ Star on GitHub

Data · orbit-system

Orbit system

A glowing star and five bodies (one ringed, one with a moon) on dashed elliptical orbits moving at Kepler-ish speeds with name labels and orbit counters and an elapsed-years readout, then a smooth zoom into one body with a spec card.

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

Orbit system: three frames of the animated chart, start, middle and end
Orbit system — start, middle and end of the 8.0-second motion.

What Orbit system is for

Astronomy teaching, "ecosystem" metaphors for products (a platform and its satellites), timelines of cycles, a hero background for space or science topics.

  • orbit
  • planets
  • solar system
  • kepler
  • astronomy
  • space
  • ellipse
  • dashed
  • zoom
  • labels
  • counter
  • ecosystem
  • education
  • science
  • timeline
  • cycle
  • dark
  • hero background

Details

Category
Animated charts & data visualisation
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
title subtitle unit
Colour props
background starColor inkColor accent
Mood
hud, night
Roles
subject

Use Orbit system in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render orbit-system --props '{"title":"A small system","subtitle":"Five bodies, one star","unit":"yr","background":"#070b1a","starColor":"#ffc857","inkColor":"#e6ecff","accent":"#ffc857"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export orbit-system --as mp4 --props '{"title":"A small system","subtitle":"Five bodies, one star","unit":"yr","background":"#070b1a","starColor":"#ffc857","inkColor":"#e6ecff","accent":"#ffc857"}'

React / Next.js

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

<MotionPlayer
  motion="orbit-system"
  props={{
    title: 'A small system',
    subtitle: 'Five bodies, one star',
    unit: 'yr',
    background: '#070b1a',
    starColor: '#ffc857',
    inkColor: '#e6ecff',
    accent: '#ffc857',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="orbit-system"
  props='{"title":"A small system","subtitle":"Five bodies, one star","unit":"yr","background":"#070b1a","starColor":"#ffc857","inkColor":"#e6ecff","accent":"#ffc857"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "orbit-system",
      "props": {
        "title": "A small system",
        "subtitle": "Five bodies, one star",
        "unit": "yr",
        "background": "#070b1a",
        "starColor": "#ffc857",
        "inkColor": "#e6ecff",
        "accent": "#ffc857"
      }
    }
  ]
}

Orbit system props

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

PropDefaultWhat it does
title"A small system"headline (top-left, hidden while zoomed)
subtitle"Five bodies, one star"mono sub-line
starName"Helio"label under the star ("" for none)
bodies[{"name":"Ember","a":0.7,"e":0.12,"r":7,"color":"#d9a066"},{"name":"Verdi","a":1.3,"e":…bodies [{name,a (semi-major axis, AU-like),e (eccentricity),period (optional; defaults to a^1.5),r (px at 1080),color,ring?,moon?}]
background"#070b1a"space colour
starColor"#ffc857"star / sun colour
inkColor"#e6ecff"labels, orbit lines and text
accent"#ffc857"spec-card rule colour
timeScale0.35simulated years per second of video
tilt0.52orbit-plane squash 0.25 (edge-on) .. 1 (top-down)
focus"Azur"body name to zoom into ("" = no zoom)
focusAt150frame the zoom starts (-1 = never)
focusFrames46zoom duration in frames
unit"yr"period unit label
labelstrueshow name + period + orbit counter next to each body
countertrueshow the elapsed-time readout
stars90background star count
seed5start angles / star field seed
elapsedLabel"ELAPSED"label before the elapsed-time counter
focusLabels["ORBIT","DISTANCE","ECCENTRICITY","ORBITS DONE"]row labels of the focus card [period, distance, eccentricity, orbits done]
distanceUnit"AU"unit after the distance value in the focus card

Notes & credits

Technique sources:

  • prompt-corpus: orbit-system (16 cases, awesome-opus5-5-videos)