Opus Motion ★ Star on GitHub

Data · transfer-arc

Transfer arc

A thick gradient tube arches out of one glowing ink-line jar and draws itself into the next; the target fills as the arc lands, the source drops a little, and chained arcs carry the energy purple → blue → orange → pink with light flowing along them.

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

Transfer arc: three frames of the animated chart, start, middle and end
Transfer arc — start, middle and end of the 6.0-second motion.

What Transfer arc is for

Showing flows and transfers between containers — energy between stores, money between accounts, data between services — in explainers and lessons.

  • arc
  • transfer
  • flow
  • gradient
  • tube
  • jar
  • energy
  • chain
  • pipeline
  • money flow
  • data flow
  • ink
  • hatching
  • textbook
  • education
  • physics
  • glow
  • ink-hatch-3d
  • pop-up book
  • loop

Details

Category
Animated charts & data visualisation
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title caption
Colour props
paper ink
Mood
3d, hud
Roles
subject

Use Transfer arc in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render transfer-arc --props '{"title":"Energy moves between stores","caption":"Fig. 2  Each arc carries energy on to the next store.","paper":"#EFEDE9","ink":"#1E1E1E"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export transfer-arc --as mp4 --props '{"title":"Energy moves between stores","caption":"Fig. 2  Each arc carries energy on to the next store.","paper":"#EFEDE9","ink":"#1E1E1E"}'

React / Next.js

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

<MotionPlayer
  motion="transfer-arc"
  props={{
    title: 'Energy moves between stores',
    caption: 'Fig. 2  Each arc carries energy on to the next store.',
    paper: '#EFEDE9',
    ink: '#1E1E1E',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="transfer-arc"
  props='{"title":"Energy moves between stores","caption":"Fig. 2  Each arc carries energy on to the next store.","paper":"#EFEDE9","ink":"#1E1E1E"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "transfer-arc",
      "props": {
        "title": "Energy moves between stores",
        "caption": "Fig. 2  Each arc carries energy on to the next store.",
        "paper": "#EFEDE9",
        "ink": "#1E1E1E"
      }
    }
  ]
}

Transfer arc props

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

PropDefaultWhat it does
jars[{"label":"Gravitational","color":"#7E2AE4","value":15,"unit":"J"},{"label":"Kinetic","…jars on the shelf, left to right: {label, color, value (shown when full), unit}
startJar0index of the jar that is full at the start
startLevel0.8its fill level 0..1
chain[{"from":0,"to":1,"at":22},{"from":1,"to":2,"at":56},{"from":2,"to":3,"at":90}]transfer steps {from, to, at (frame the arc starts drawing)}
drawFrames9frames for an arc to draw (easeInOutCubic; source 0.3 s)
fillFrames12frames for the target fill (starts at 80 % of the draw)
sourceDrop0.1fraction of its level the source loses per transfer
resetAt150frame where arcs fade and all jars drain (0 = never)
arcHeight0.6arc apex above the rims, in jar spacings
arcWidth1tube thickness multiplier
flowtruelight pulses flow along drawn arcs
eyebrow"Transfers"small letter-spaced eyebrow ("" hides)
title"Energy moves between stores"serif italic title ("" hides)
caption"Fig. 2 Each arc carries energy on to the next store."italic figure caption ("" hides)
labelstrueshow label cards with handwritten values
suntrueshow the ink sun icon
paper"#EFEDE9"page paper colour
ink"#1E1E1E"line / text ink colour
yaw-183/4 view yaw in degrees (drifts +6°)
pitch26camera elevation in degrees

Notes & credits

Technique sources:

  • video x3 3.9-4.6 s, 11.6-13.3 s (transfer arcs between jars)