Opus Motion ★ Star on GitHub

FX · ink-brush-boil

Ink brush boil

A doodle (light bulb, mug, star, heart or your own strokes) inks itself on warm paper with real brush lines — tapered ends, pressure wobble, heavier on the shadow side — then flat fills drop in off-register, a hatched shadow scratches in, a hand-lettered caption writes on, and every line keeps breathing (re-drawn each exposure).

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

Ink brush boil: three frames of the visual effect, start, middle and end
Ink brush boil — start, middle and end of the 6.0-second motion.

What Ink brush boil is for

Hand-made, craft or "drawn for you" moments: ideas (bulb), coffee breaks, ratings, love/likes, or any line art you feed as strokes; the kit upgrades any doodle to brush ink.

  • ink
  • brush
  • line boil
  • hand-drawn
  • doodle
  • cel
  • tapered stroke
  • pressure
  • off-register
  • hatch
  • paper
  • on twos
  • draw on
  • light bulb
  • idea
  • mug
  • star
  • heart
  • mg-styles-15
  • cel-boil

Details

Category
Visual effects & particles
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
caption
Colour props
background ink fillColors
Mood
paper, editorial
Roles
subject

Use Ink brush boil in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render ink-brush-boil --props '{"caption":"bright idea","background":"#F4E9D0","ink":"#1C1613","fillColors":["#E5402B","#FFC425","#3B2A22","#B9B0A2"]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export ink-brush-boil --as mp4 --props '{"caption":"bright idea","background":"#F4E9D0","ink":"#1C1613","fillColors":["#E5402B","#FFC425","#3B2A22","#B9B0A2"]}'

React / Next.js

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

<MotionPlayer
  motion="ink-brush-boil"
  props={{
    caption: 'bright idea',
    background: '#F4E9D0',
    ink: '#1C1613',
    fillColors: ['#E5402B', '#FFC425', '#3B2A22', '#B9B0A2'],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="ink-brush-boil"
  props='{"caption":"bright idea","background":"#F4E9D0","ink":"#1C1613","fillColors":["#E5402B","#FFC425","#3B2A22","#B9B0A2"]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "ink-brush-boil",
      "props": {
        "caption": "bright idea",
        "background": "#F4E9D0",
        "ink": "#1C1613",
        "fillColors": [
          "#E5402B",
          "#FFC425",
          "#3B2A22",
          "#B9B0A2"
        ]
      }
    }
  ]
}

Ink brush boil props

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

PropDefaultWhat it does
background"#F4E9D0"paper colour
subject"bulb"bulb | mug | star | heart | custom (uses `strokes`)
strokes[]custom: list of strokes, each a list of [x,y] in 0..1; a stroke whose last point equals its first is a filled loop
caption"bright idea"hand-lettered caption under the drawing ("" to hide)
ink"#1C1613"ink colour
fillColors["#E5402B","#FFC425","#3B2A22","#B9B0A2"]flat fill colours (subject parts pick by index; first is also the underline)
inkWidth1brush width multiplier (6 px base at 1080p)
boilAmp1boil amplitude multiplier (2.3 px base)
boilScale1boil noise scale multiplier (70 px base; bigger = smoother wobble)
boilEvery2frames per drawing (2 = on twos, 3 = on threes)
taper1taper length multiplier (14 px in / 26 px out)
heavySide0.35extra weight on the lower-right shadow side (0–1)
offRegister5colour-to-line misregistration in px
drawDuration70frames to ink the whole drawing
hatchtruehatched cast shadow
size1drawing scale
slatetrueshow the drawing counter
seed1variation seed

Notes & credits

Technique sources:

  • mg-styles-15 05-cel-boil engine.js boil/outline/inkW/inkLoop/hatch (MIT, Vincentwei1021) — technique after mg-styles-15