Opus Motion ★ Star on GitHub

Shapes · nib-follow-camera

One-line drawing, nib-follow camera

A single continuous ink line draws a whole scene with real pen dynamics — thin on fast travels, fat and pooled at slow corners, a soaked bleed, one red accent stretch, a soft pen shadow at the nib — while the camera glides after the drawing point with lag and anticipation and pulls back at the end to reveal the whole picture.

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

One-line drawing, nib-follow camera: three frames of the shape animation, start, middle and end
One-line drawing, nib-follow camera — start, middle and end of the 8.0-second motion.

What One-line drawing, nib-follow camera is for

Minimal brand stories, signature / logo reveals, life-milestone films, "one continuous process" explainers; pass your own polyline for a custom picture.

  • one line
  • single line
  • draw on
  • ink
  • pen
  • camera follow
  • pull back
  • reveal
  • minimal
  • signature
  • continuous
  • pressure
  • calligraphy

Details

Category
Shape & geometric animations
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
caption
Colour props
paper ink accent
Mood
photo, nature
Roles
subject

Use One-line drawing, nib-follow camera in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render nib-follow-camera --props '{"caption":"It all starts with one line.","paper":"#F4EFE4","ink":"#1D1A17","accent":"#B3332B"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export nib-follow-camera --as webm-alpha --props '{"caption":"It all starts with one line.","paper":"#F4EFE4","ink":"#1D1A17","accent":"#B3332B"}'

React / Next.js

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

<MotionPlayer
  motion="nib-follow-camera"
  props={{
    caption: 'It all starts with one line.',
    paper: '#F4EFE4',
    ink: '#1D1A17',
    accent: '#B3332B',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="nib-follow-camera"
  props='{"caption":"It all starts with one line.","paper":"#F4EFE4","ink":"#1D1A17","accent":"#B3332B"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "nib-follow-camera",
      "props": {
        "caption": "It all starts with one line.",
        "paper": "#F4EFE4",
        "ink": "#1D1A17",
        "accent": "#B3332B"
      }
    }
  ]
}

One-line drawing, nib-follow camera props

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

PropDefaultWhat it does
paths""JSON array of polylines [[[x,y],…],…] in a 1920×1080 world (smoothed through a spline); empty = built-in sailboat scene
paper"#F4EFE4"paper colour
ink"#1D1A17"ink colour
accent"#B3332B"accent colour for one stretch
accentRange[0.47,0.56]accent stretch [from, to] as fractions of total line length
baseWidth5.2base line width (world px)
curvatureK1.6how much sharp turns slow the pen (0 = constant speed)
bleed0.22soaked-edge opacity
penShadowtruesoft shadow wedge at the nib
drawStart4frame the line starts
drawEnd0frame it finishes (0 = auto: duration − reveal)
revealFrames50pull-back reveal length
openZoom3.4macro zoom at the start
travelZoom1.9zoom during travel
caption"It all starts with one line."handwritten caption at the end ("" to hide)
captionAt200caption frame
pooltrueink pools where the pen moves slowly
seed3width-noise seed
background"paper""paper" or a colour / "transparent"

Notes & credits

Technique sources:

  • lemo-opuscar styles/one-line (MIT code, CC BY 4.0 docs, LemoLab) — demo/cam.js camAt, ink.js prepare/drawLine, geom.js