FX · crayon-wax-shader
Crayon wax shader
Wax-crayon-on-toothy-paper look as a layer: a picture-book garden (sun, cloud, flowers, grass) is outlined, coloured lightly so the wax only catches the paper tooth, then coloured over hard until near-solid; embossed paper, fibre grooves, 12 fps boil. With src, any picture is coloured in by big zig-zag strokes through the same filter.
A free, MIT-licensed visual effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Crayon wax shader is for
A hand-made crayon style layer for kids content, picture books, greeting cards; turn a photo into a crayon drawing.
Details
- Category
- Visual effects & particles
- 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
caption- Colour props
paperColorinkColorcolors- Image props
src- Mood
- paper, photo, nature
- Roles
- subject
Use Crayon wax shader in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add crayon-wax-shader --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render crayon-wax-shader --props '{"caption":"colour outside the lines","paperColor":"#F4EFE3","inkColor":"#2D3263","colors":["#F5C63C","#EE8EA4","#62A24C","#EC8A3C","#79ACD9"],"src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export crayon-wax-shader --as mp4 --props '{"caption":"colour outside the lines","paperColor":"#F4EFE3","inkColor":"#2D3263","colors":["#F5C63C","#EE8EA4","#62A24C","#EC8A3C","#79ACD9"],"src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="crayon-wax-shader"
props={{
caption: 'colour outside the lines',
paperColor: '#F4EFE3',
inkColor: '#2D3263',
colors: ['#F5C63C', '#EE8EA4', '#62A24C', '#EC8A3C', '#79ACD9'],
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="crayon-wax-shader"
props='{"caption":"colour outside the lines","paperColor":"#F4EFE3","inkColor":"#2D3263","colors":["#F5C63C","#EE8EA4","#62A24C","#EC8A3C","#79ACD9"],"src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "crayon-wax-shader",
"props": {
"caption": "colour outside the lines",
"paperColor": "#F4EFE3",
"inkColor": "#2D3263",
"colors": [
"#F5C63C",
"#EE8EA4",
"#62A24C",
"#EC8A3C",
"#79ACD9"
],
"src": ""
}
}
]
}Crayon wax shader props
10 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
src | "" | optional picture (public/ path or URL) rendered as wax crayon; empty = the procedural garden |
caption | "colour outside the lines" | printed words, written letter by letter at the bottom |
pressure | 0.42 | first, light colouring pressure 0..1 (speckled) |
heavyPressure | 0.95 | second, pressed-hard pressure 0..1 (near-solid) |
toothScale | 1 | paper tooth size multiplier |
emboss | 0.6 | paper emboss strength 0..1 |
paperColor | "#F4EFE3" | drawing paper colour |
inkColor | "#2D3263" | outline crayon colour |
boil | true | lines re-jitter 12 times a second |
colors | ["#F5C63C","#EE8EA4","#62A24C","#EC8A3C","#79ACD9"] | [sun, petals, leaves, flower centre, cloud] crayon colours |
Related motions

Wax resist reveal
Reveal a hidden message, thank-you names or a feature: greeting cards, kids brands, bedtime stories, education.
wax-resist-reveal
Crayon pressure pass
Kids / edu / family brands, "hand-drawn by a child" moments, playful onboarding and recap drawings; the wax filter idea works on any…
crayon-pressure-pass
Crayon hatch fill
Colouring-in as an action: kids/education charts, playful reports, filling a bar, region or silhouette by hand.
crayon-hatch-fill
Sticker cut-out (die-cut border)
Kids / game / social sticker moments, scrapbook explainers, craft-made icon sets; wrap a product PNG to make it a sticker.
sticker-cutout
Cyanotype water bloom
Rain / flood / emotion beats on any paper-based motion; a melancholy turn in a blueprint or patent story.
cyanotype-water-bloom
Ink blot (pen stop)
A hesitation / loss / signature beat in ink, pencil, ink-wash or woodcut styles; punctuation in hand-drawn explainers.
ink-blot-stop
Notes & credits
Technique sources:
- lemo-opuscar styles/crayon-book (MIT, LemoLab) — demo/gl.js tooth / wax adhesion / emboss, demo/crayon.js