Opus Motion ★ Star on GitHub

Data · token-pipeline

Token pipeline

A glass-lab pipeline: glowing cubes swirl in a source bulb, stream one by one through an arched tube, spiral down a gold-ringed glass coil and reach a dropper that swells a drop, glints and drips it into a labelled flask, while the camera follows the flow and pulls back to reveal the whole lab.

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

Token pipeline: three frames of the animated chart, start, middle and end
Token pipeline — start, middle and end of the 5.0-second motion.

What Token pipeline is for

Training / build / pipeline explainers ("your data goes in…"), product origin stories, "tokens in, model out" moments.

  • pipeline
  • tokens
  • data
  • lab
  • glass
  • flask
  • coil
  • process
  • training
  • build
  • flow
  • explainer
  • machine
  • product origin

Details

Category
Animated charts & data visualisation
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
background cubeColor outputColor glass gold
Mood
nature, hud
Roles
subject

Use Token pipeline in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render token-pipeline --props '{"background":"#070A24","cubeColor":"#F27A2E","outputColor":"#47AFF7","glass":"#CFE6FF","gold":"#D49A4A"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export token-pipeline --as mp4 --props '{"background":"#070A24","cubeColor":"#F27A2E","outputColor":"#47AFF7","glass":"#CFE6FF","gold":"#D49A4A"}'

React / Next.js

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

<MotionPlayer
  motion="token-pipeline"
  props={{
    background: '#070A24',
    cubeColor: '#F27A2E',
    outputColor: '#47AFF7',
    glass: '#CFE6FF',
    gold: '#D49A4A',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="token-pipeline"
  props='{"background":"#070A24","cubeColor":"#F27A2E","outputColor":"#47AFF7","glass":"#CFE6FF","gold":"#D49A4A"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "token-pipeline",
      "props": {
        "background": "#070A24",
        "cubeColor": "#F27A2E",
        "outputColor": "#47AFF7",
        "glass": "#CFE6FF",
        "gold": "#D49A4A"
      }
    }
  ]
}

Token pipeline props

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

PropDefaultWhat it does
background"#070A24"scene background
cubeColor"#F27A2E"token cube colour
outputColor"#47AFF7"drop / flask liquid colour
glass"#CFE6FF"glass tint
gold"#D49A4A"coil rings / dropper colour
count34cubes that travel the pipeline
gap2frames between cubes leaving the bulb
speed1.5cube speed along the tubes (world units per second)
sourceLabel"DATA"paper tag on the source bulb
targetLabel"v2.0"paper tag on the flask
dropAt96frame the drop releases (it swells for 15 frames before)
seed2swirl seed

Notes & credits

Technique sources:

  • video x7 0.0-3.75 s (bulb, tube, coil, dropper, flask)