Music · lyric-on-path
Lyric on a path (spark / fuse)
An orange spark with a white-hot core drags a hairline curve across the frame and the lyric rides it: each word appears on the path, tilted to the tangent, exactly as it is sung; in the fuse variant the burning front makes words glow as it passes, then they char to ash and crumble off the line.
A free, MIT-licensed music visualizer from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Lyric on a path (spark / fuse) is for
Text that follows a chart line, a fuse, a route or a timeline; lyric videos, countdown fuses, “descending into the data” beats.
Details
- Category
- Music visualisers & audio graphics
- Length
- 10.0 s (300 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
lines- Colour props
backgroundinkaccentashColor- Mood
- nature, hud
- Roles
- subject
Use Lyric on a path (spark / fuse) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add lyric-on-path --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render lyric-on-path --props '{"lines":["Turn the city lights up one more time","Every heartbeat lands right on the line"],"background":"#0A0A0B","ink":"#EEE9DF","accent":"#FF4D12","ashColor":"#55504B"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export lyric-on-path --as webm-alpha --props '{"lines":["Turn the city lights up one more time","Every heartbeat lands right on the line"],"background":"#0A0A0B","ink":"#EEE9DF","accent":"#FF4D12","ashColor":"#55504B"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="lyric-on-path"
props={{
lines: [
'Turn the city lights up one more time',
'Every heartbeat lands right on the line',
],
background: '#0A0A0B',
ink: '#EEE9DF',
accent: '#FF4D12',
ashColor: '#55504B',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="lyric-on-path"
props='{"lines":["Turn the city lights up one more time","Every heartbeat lands right on the line"],"background":"#0A0A0B","ink":"#EEE9DF","accent":"#FF4D12","ashColor":"#55504B"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "lyric-on-path",
"props": {
"lines": [
"Turn the city lights up one more time",
"Every heartbeat lands right on the line"
],
"background": "#0A0A0B",
"ink": "#EEE9DF",
"accent": "#FF4D12",
"ashColor": "#55504B"
}
}
]
}Lyric on a path (spark / fuse) props
14 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
lines | ["Turn the city lights up one more time","Every heartbeat lands right on the line"] | plain lyric lines (used when `lyrics` is empty): timed onto the beat grid, words on eighth notes |
lyrics | [] | timed lyrics: [{text, start, end, words?: [{text, start, end, syl?:[[a,b]]}]}] in seconds; words without times are estimated |
bpm | 120 | tempo used when `beats` has no beat list |
offsetSec | 0.3 | time of the first beat in seconds (aligns the grid to your song) |
beats | {} | beat data: {bpm, offsetSec, beatsPerBar} or a list of beat times (s), or a full analysis {beats, downbeats, sections, onsets:{kick,snare,hat:[[t,strength]]}} |
variant | "curve" | 'curve' (words light as sung on a descending line) or 'fuse' (burn front ignites then chars the words) |
path | "" | custom path as normalised points 'x,y x,y …' (0..1); empty = procedural curve |
background | "#0A0A0B" | frame colour or 'transparent' |
ink | "#EEE9DF" | line + rested word colour |
accent | "#FF4D12" | spark / sung word colour |
ashColor | "#55504B" | charred word colour (fuse) |
size | 34 | word size in u |
labels | true | tiny mono footnote ticks along the path |
seed | 2 | curve shape + sputter variety |
Related motions

Lyric timing lane (word + syllable sync)
Show / check word timing for karaoke and captions, “how the lyric video is synced” explainers, music-tech UI; doubles as a QA view for…
lyric-timing
Lyric video (karaoke + beat)
Lyric videos, word-synced song captions, music promos: pass `lyrics` (word timings) or just `lines` + `bpm`/`offsetSec`.
lyric-video
Lyric-anchored cuts (edit by lyric text)
Author a whole lyric video or captioned promo by lyric text — re-time the song and every cut still lands on the beat; teach “cut on the…
lyric-anchored-timeline
Beat grid (music clock HUD)
Music-production / DJ / metronome visuals, “how the edit is cut to the beat” explainers, a beat HUD overlay; feed it your song’s `beats`…
beat-grid
Token sampler prompt (LLM typing)
AI-product videos, “how an LLM picks the next word” explainers, prompt demos; feed `lyrics` to type exactly on the vocal.
token-sampler-prompt
Beat camera (snap reframes)
Makes any static motion feel edited to music — wrap a scene in a `mix` with this on top, or use it as the demo explains; promos, recaps,…
beat-camera
Notes & credits
Technique sources:
- pdoom-video app/src/scenes/loss.ts + fuse.ts + _motifs.ts spark (MIT)