Opus Motion ★ Star on GitHub

Shapes · one-line-journey

One-line journey

A single gold line with a glowing pen tip travels through a chain of figures (seed, plant, building, skyline, wave, ring) as one continuous path; a virtual camera rides the tip zoomed in and pulls back as the drawing grows, older parts dim to ~35 %, the clock breathes on each figure, and the finished drawing relights under a tracked title.

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

One-line journey: three frames of the shape animation, start, middle and end
One-line journey — start, middle and end of the 11.0-second motion.

What One-line journey is for

Luxury, architecture, finance and founder-story films; agents can feed brand-specific path pieces for a one-stroke story.

  • line art
  • pen
  • one line
  • continuous line
  • camera follow
  • luxury
  • architecture
  • journey
  • draw-on
  • gold
  • story

Details

Category
Shape & geometric animations
Length
11.0 s (330 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title subtitle
Colour props
background color
Mood
nature
Roles
subject

Use One-line journey in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render one-line-journey --props '{"title":"Northwind","subtitle":"one continuous line","background":"#0E1B33","color":"#E8C46A"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export one-line-journey --as mp4 --props '{"title":"Northwind","subtitle":"one continuous line","background":"#0E1B33","color":"#E8C46A"}'

React / Next.js

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

<MotionPlayer
  motion="one-line-journey"
  props={{
    title: 'Northwind',
    subtitle: 'one continuous line',
    background: '#0E1B33',
    color: '#E8C46A',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="one-line-journey"
  props='{"title":"Northwind","subtitle":"one continuous line","background":"#0E1B33","color":"#E8C46A"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "one-line-journey",
      "props": {
        "title": "Northwind",
        "subtitle": "one continuous line",
        "background": "#0E1B33",
        "color": "#E8C46A"
      }
    }
  ]
}

One-line journey props

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

PropDefaultWhat it does
pieces[{"weight":1,"pts":[[-140,0],[40,0],[170,0]]},{"weight":1.4,"pts":[[170,0],[200,0],[232…ordered figures [{pts:[[x,y,corner?]…] | d:"svg path", weight}] in world units (ground y=0, y down); the pen continues from piece to piece
background"#0E1B33"centre colour of the backdrop gradient
color"#E8C46A"line and glow colour
lineWidth3.4line width in screen px at 1080p
zoomKeys[[0,5],[0.9,3.4],[2.4,2.4],[4.4,1.7],[6.4,1.25],[8.2,1]][[clock seconds, zoom]…] camera zoom (1 = whole drawing fits), interpolated in log space
dimTo0.35opacity older line fades to (0-1)
holdAfter[2,3,4,5]piece indices after which the clock holds (punctuation) then runs ~2x to catch up
holdSec0.15seconds of each hold
drawStart0.3clock second the pen starts
drawEnd8.2clock second the last piece is finished
follow0.8camera smoothing window in seconds (gaussian)
bank0.016camera roll (radians) while drawing the wave piece
title"Northwind"tracked title that appears after the drawing
subtitle"one continuous line"small line under the title

Notes & credits

Technique sources:

  • mg-styles-15 demos/02-line-art/film.js camera + PIECES (MIT)