Opus Motion ★ Star on GitHub

Image looks · brush-stroke-reveal

Brush-stroke reveal

A picture is uncovered by thick brush strokes sweeping across the frame (zigzag rows, a spiral or diagonal passes): each stroke leads with a wet ink fringe, its edge breaks into dry-brush bristle streaks, and ink pools at the stroke ends; the revealed image (or a painted sunrise) drifts in slowly and a title lands when the last stroke ends.

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

Brush-stroke reveal: three frames of the image effect, start, middle and end
Brush-stroke reveal — start, middle and end of the 5.0-second motion.

What Brush-stroke reveal is for

Ink / painterly titles, heritage and cultural stories, festival greetings, art-brand reveals: pass `src` and `title`, or your own `strokes` as 0-1 coordinates.

  • brush
  • stroke
  • reveal
  • ink
  • sumi
  • paint
  • dry brush
  • mask
  • wipe
  • painterly
  • heritage
  • festival
  • image
  • title
  • zigzag
  • spiral
  • art

Details

Category
Image looks & photo effects
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
medium
Transparent overlay
no
Seamless loop
no
Text props
title subtitle
Colour props
inkColor paper palette textColor
Image props
src
Mood
photo, nature
Roles
backdrop

Use Brush-stroke reveal in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render brush-stroke-reveal --props '{"title":"Morning Light","subtitle":"A new season","inkColor":"#1d2230","paper":"#efe6d3","palette":["#f6c28b","#f2e0c0","#fff4d4","#6f8f94","#3f6a73","#2c4f5a"],"textColor":"#fff6e6","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export brush-stroke-reveal --as mp4 --props '{"title":"Morning Light","subtitle":"A new season","inkColor":"#1d2230","paper":"#efe6d3","palette":["#f6c28b","#f2e0c0","#fff4d4","#6f8f94","#3f6a73","#2c4f5a"],"textColor":"#fff6e6","src":""}'

React / Next.js

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

<MotionPlayer
  motion="brush-stroke-reveal"
  props={{
    title: 'Morning Light',
    subtitle: 'A new season',
    inkColor: '#1d2230',
    paper: '#efe6d3',
    palette: ['#f6c28b', '#f2e0c0', '#fff4d4', '#6f8f94', '#3f6a73', '#2c4f5a'],
    textColor: '#fff6e6',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="brush-stroke-reveal"
  props='{"title":"Morning Light","subtitle":"A new season","inkColor":"#1d2230","paper":"#efe6d3","palette":["#f6c28b","#f2e0c0","#fff4d4","#6f8f94","#3f6a73","#2c4f5a"],"textColor":"#fff6e6","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "brush-stroke-reveal",
      "props": {
        "title": "Morning Light",
        "subtitle": "A new season",
        "inkColor": "#1d2230",
        "paper": "#efe6d3",
        "palette": [
          "#f6c28b",
          "#f2e0c0",
          "#fff4d4",
          "#6f8f94",
          "#3f6a73",
          "#2c4f5a"
        ],
        "textColor": "#fff6e6",
        "src": ""
      }
    }
  ]
}

Brush-stroke reveal props

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

PropDefaultWhat it does
src""image to reveal (public/ path or URL); empty = painted sunrise
mode"zigzag"auto strokes: 'zigzag' | 'spiral' | 'diagonal' (ignored when `strokes` is given)
strokes[][{pts:[[x,y]...] (0-1 of frame), width? (fraction of short side), at?, frames?}] custom stroke paths
title"Morning Light"title revealed with the picture ("" = none)
subtitle"A new season"small caps line above the title
inkColor"#1d2230"wet ink fringe colour
paper"#efe6d3"paper colour behind the strokes
strokeFrames12frames one stroke takes to sweep (8-14 feels like a real stroke)
stagger9frames between consecutive strokes
width0.12stroke width as a fraction of the short side (0.06-0.18)
bristle1dry-brush streak density (0 = clean edge)
roughness1edge displacement multiplier
zoom1.05slow push-in scale applied to the revealed image
palette["#f6c28b","#f2e0c0","#fff4d4","#6f8f94","#3f6a73","#2c4f5a"]painted-sunrise colours: [sky top, sky low, sun, ridge 1, ridge 2, lake]
textColor"#fff6e6"title colour

Notes & credits

Technique sources:

  • prompt corpus x24 (brush strokes reveal shapes and images, ink pooling)