Opus Motion ★ Star on GitHub

Shapes · brush-paint-in

Watercolour brush paint-in

Any path set (a plant sprig by default) paints itself in stroke by stroke: each stroke is a translucent variable-width ribbon with thin bristle tracks that break into dashes and end early (dry-brush flying white), overlaps darken, and the finished painting sways gently.

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

Watercolour brush paint-in: three frames of the shape animation, start, middle and end
Watercolour brush paint-in — start, middle and end of the 7.0-second motion.

What Watercolour brush paint-in is for

Paint-on reveals of icons, logos, plants, horizons and illustrations in warm editorial / field-journal looks; hand-made accents for nature, craft, wellness and education brands.

  • watercolor
  • watercolour
  • brush
  • paint
  • strokes
  • bristle
  • dry brush
  • botanical
  • illustration
  • paper
  • sway
  • reveal

Details

Category
Shape & geometric animations
Length
7.0 s (210 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
colors paper background
Mood
paper, nature, playful, night
Roles
subject

Use Watercolour brush paint-in in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render brush-paint-in --props '{"colors":["#4f7a4b","#c4462f","#6b5a3c","#d7b277"],"paper":"#8a7350","background":"#F3EDE0"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export brush-paint-in --as mp4 --props '{"colors":["#4f7a4b","#c4462f","#6b5a3c","#d7b277"],"paper":"#8a7350","background":"#F3EDE0"}'

React / Next.js

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

<MotionPlayer
  motion="brush-paint-in"
  props={{
    colors: ['#4f7a4b', '#c4462f', '#6b5a3c', '#d7b277'],
    paper: '#8a7350',
    background: '#F3EDE0',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="brush-paint-in"
  props='{"colors":["#4f7a4b","#c4462f","#6b5a3c","#d7b277"],"paper":"#8a7350","background":"#F3EDE0"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "brush-paint-in",
      "props": {
        "colors": [
          "#4f7a4b",
          "#c4462f",
          "#6b5a3c",
          "#d7b277"
        ],
        "paper": "#8a7350",
        "background": "#F3EDE0"
      }
    }
  ]
}

Watercolour brush paint-in props

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

PropDefaultWhat it does
paths[][{pts:[[x,y]..] (0-1000 design space) | d:'svg path', color, width, profile}] — empty = built-in plant sprig
colors["#4f7a4b","#c4462f","#6b5a3c","#d7b277"]fallback colours cycled over paths without a colour
width44default stroke width in design units
profile"auto"width profile: 'brush'|'leaf'|'even'|'tip'|'trunk'|'auto'
bristlestruedry-brush bristle tracks
rough0.22width noise 0-0.5
opacity1overall stroke opacity
order"given"'given'|'top-down'|'radial'|'byLength'
startFrame14frame painting starts
durationFrames140frames the whole painting takes
sway1.4degrees of idle sway after finishing (0 = still)
paper"#8a7350"paper fibre tint
background"#F3EDE0"paper colour
seed7randomness seed

Notes & credits

Technique sources:

  • lemo-opuscar styles/watercolor demo/engine.js mk/drawS/drawList (MIT, LemoLab) — own SVG build