Opus Motion ★ Star on GitHub

Type · handwrite-on

Handwrite-on title

Text written glyph by glyph with a pen: outline strokes on, ink fill follows; optional fast un-write.

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

Handwrite-on title: three frames of the text animation, start, middle and end
Handwrite-on title — start, middle and end of the 4.0-second motion.

What Handwrite-on title is for

Friendly titles, end cards, chapter interstitials and handwritten captions.

  • title
  • handwriting
  • pen
  • endcard
  • marker
  • whiteboard
  • brush
  • calligraphy
  • caption
  • written-caption

Details

Category
Text animations & kinetic typography
Length
4.0 s (120 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
lines
Colour props
background color
Mood
light, paper, editorial
Roles
type
Pairs with
Flow lines (wind / heat / steam / waves), Falling petals / leaves / papers, Icon draw, fill & glow (heart), Sprout grow row

Use Handwrite-on title in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render handwrite-on --props '{"lines":[{"text":"ballpoint","color":"#C8363A"},{"text":"gambit","color":"#3B3F9E"}],"background":"#EFE9DC","color":"#2B74C5"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export handwrite-on --as mp4 --props '{"lines":[{"text":"ballpoint","color":"#C8363A"},{"text":"gambit","color":"#3B3F9E"}],"background":"#EFE9DC","color":"#2B74C5"}'

React / Next.js

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

<MotionPlayer
  motion="handwrite-on"
  props={{
    lines: [
      {text: 'ballpoint', color: '#C8363A'},
      {text: 'gambit', color: '#3B3F9E'},
    ],
    background: '#EFE9DC',
    color: '#2B74C5',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="handwrite-on"
  props='{"lines":[{"text":"ballpoint","color":"#C8363A"},{"text":"gambit","color":"#3B3F9E"}],"background":"#EFE9DC","color":"#2B74C5"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "handwrite-on",
      "props": {
        "lines": [
          {
            "text": "ballpoint",
            "color": "#C8363A"
          },
          {
            "text": "gambit",
            "color": "#3B3F9E"
          }
        ],
        "background": "#EFE9DC",
        "color": "#2B74C5"
      }
    }
  ]
}

Handwrite-on title props

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

PropDefaultWhat it does
lines[{"text":"ballpoint","color":"#C8363A"},{"text":"gambit","color":"#3B3F9E"}]array of {text, color?, size?, delay?} — each line written after the previous
background"#EFE9DC"
color"#2B74C5"
font"hand"hand | serif | sans | grotesk
size150
framesPerGlyph3writing speed (video4 ≈ 1.75 f @30fps, video22 ≈ 3 f)
strokeWidth2
unwriteAt0frame to start erasing backwards at 2x speed (0 = never)
papertrue
jitter1.2pen wobble in px
variant"pen"'pen' (default outline-then-ink) | 'marker' (dry-erase marker: per-glyph seeded tilt / baseline / size wobble, thicker translucent multiply ink, wet glint at the nib) | 'brush' (swelling pressure per glyph, thick stroke, dry streaks)
glyphJitter{"tilt":2.5,"baseline":2,"size":0.03}marker: {tilt deg, baseline px, size fraction} seeded per glyph
wetGlinttruemarker: small white glint at the nib while a glyph is being written
multiplytruemarker: ink is ~90 % opaque and multiplies with what is below
dry0.6brush: 0..1 dry-brush streak strength
halonullwritten-caption mode: {color, width} paper-coloured blurred halo behind each glyph so it knocks back lines passing behind (null = off)
anchor"center"'center' (default) | 'bottom' (caption position, 10 % from the bottom)
seed4marker glyph jitter seed

Notes & credits

Technique sources:

  • video4 0:26-0:28
  • video22 0:05-0:07
  • video22 0:14-0:16