Shapes · line-draw-on
Line-art draw-on
Line art constructs itself stroke by stroke with a pen nib riding each tip, then groups of lines recolour to a highlight; defaults to a blueprint building elevation.
A free, MIT-licensed shape animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Line-art draw-on is for
Build any diagram, blueprint, wireframe, icon or logo line by line; highlight the part you are talking about.
Details
- Category
- Shape & geometric animations
- 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
backgroundstrokeColorhighlightColor- Mood
- mid, paper, blueprint
- Roles
- subject
- Pairs with
- Chapter header, Callout labels, Meshing gears
Use Line-art draw-on in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add line-draw-on --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render line-draw-on --props '{"caption":"ELEVATION A · 1:100","background":"#2E5E91","strokeColor":"#F2F6FF","highlightColor":"#FFD36B"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export line-draw-on --as mp4 --props '{"caption":"ELEVATION A · 1:100","background":"#2E5E91","strokeColor":"#F2F6FF","highlightColor":"#FFD36B"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="line-draw-on"
props={{
caption: 'ELEVATION A · 1:100',
background: '#2E5E91',
strokeColor: '#F2F6FF',
highlightColor: '#FFD36B',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="line-draw-on"
props='{"caption":"ELEVATION A · 1:100","background":"#2E5E91","strokeColor":"#F2F6FF","highlightColor":"#FFD36B"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "line-draw-on",
"props": {
"caption": "ELEVATION A · 1:100",
"background": "#2E5E91",
"strokeColor": "#F2F6FF",
"highlightColor": "#FFD36B"
}
}
]
}Line-art draw-on props
29 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
paths | [] | SVG path strings in any coordinate space (auto-fitted); empty = built-in blueprint drawing |
groups | [] | group index per path (for the highlight recolour) |
background | "#2E5E91" | |
grid | true | blueprint grid background |
strokeColor | "#F2F6FF" | line colour |
strokeWidth | 3 | line width in u (screen space) |
highlightColor | "#FFD36B" | colour lines recolour to in the highlight pass |
highlightGroups | [1] | which groups recolour, in order, after everything is drawn |
drawFrames | 10 | frames each stroke takes (easeInOutQuad) |
stagger | 4 | frames between stroke starts (auto-tightened to fit 60% of the duration) |
startFrame | 8 | |
pen | true | pen-nib dot on each stroke tip and a "+" flash where a stroke starts |
engrave | false | draw strokes as outlined double lines (video19 engraving) |
fillOpacity | 0.28 | highlighted closed shapes get a soft fill of the highlight colour |
caption | "ELEVATION A · 1:100" | small mono title block typed after the drawing ("" to hide) |
margin | 0.1 | margin around the drawing as a fraction of the frame |
medium | "clean" | stroke style: clean (default) | cable (thick outlined round cables with highlight + connector-cap pop; draws a breadboard demo when no paths) | crayon (wobbly tapered wax lines that keep boiling at boilFps) | fineliner (tapered pen, overshoot + skips) |
surface | "blueprint" | blueprint (default) | whiteboard | chalkboard | paper — swaps background, ink and highlight colours, grid off |
hand | "none" | marker | pen | chalk — a hand holding the tool follows the active stroke tip and lifts between strokes (replaces the nib dot) |
cables | [] | medium cable: [{from:[x,y], to:[x,y], color?, lift?}] in a 1000x640 space (lift = arc height as a fraction of 640) |
wobble | 1.4 | crayon / fineliner: line wobble in px |
boilFps | 12 | crayon: re-seed rate of the wobble (12 = hand-drawn boil) |
taper | 0.55 | crayon / fineliner: how much both stroke ends thin out (0..1) |
overshoot | 0 | fineliner: px the pen overshoots each stroke end |
gapChance | 0 | fineliner: 0..1 chance a stroke skips a small gap mid-way |
seed | 3 | noise seed for wobble / gaps |
retractAt | 0 | frame to start removing the drawing (0 = never): cables split into pieces that shrink to nothing; crayon / fineliner erase from the tail |
retractFrames | 14 | frames each retract takes |
retractPieces | 3 | cable pieces the stroke splits into when retracting |
Related motions

Meshing gears
"How it works" / process / mechanism sections, cause and effect, teamwork, machinery of an idea.
gears
Chapter header
Step-by-step explainers, timelines, era/location markers and chapter breaks.
chapter-header
Callout labels
Label the parts of a product, diagram, room or scene; attach facts to moving objects; link vignettes to a central diagram.
callout-labels
Burin engrave hatch
Heritage logo or product reveals, museum labels, banknote / certificate looks, editorial illustration from any SVG path.
burin-engrave-hatch
Oblique extrude drawing
Plan → object reveals without three.js: flat-pack furniture, lamps, circuit boards, product diagrams, patents.
oblique-extrude-drawing
Crayon hatch fill
Colouring-in as an action: kids/education charts, playful reports, filling a bar, region or silhouette by hand.
crayon-hatch-fill
Notes & credits
Technique sources:
- video20 2:52.5-2:55 (blueprint)
- video1 1:03.1-1:04.6 (crease recolour)
- video10 0:23.0-0:23.65
- video19 engrave-stroke-draw