Journal/release · audio · typographyEntry 03 / 10
What's new in vidmake 0.2.1
vidmake analyze shows the beats and loudness curves that audio-reactive expressions will see, rich-text spans take fontWeight, italic and font, drawMode: "total" draws many strokes with one pen, and source builds report the right version.

▸ blog-021-sketch1280×720 · 30 fps · 0:06.0Rendered by vidmake
0.2 gave agents a lot of new things to reach for, and within a day they had found the edges. Three reports came up again and again. A visualizer that looked fine in a storyboard turned out to be pinned at full size for whole seconds of the render, and there was no way to see that coming. A bold word in the middle of a sentence took three text layers and a row layout. And a hand-lettered word, drawn on with drawEnd, didn't write itself letter by letter: every stroke started at once and the word flickered in like a dashed line.
vidmake 0.2.1 fixes all three. It's a small release, and everything in it is additive: projects that worked in 0.2 validate and render the same way.
#See the music before you design for it
Audio-reactive expressions are easy to write and hard to check, because the agent writing them can't hear the track. vidmake analyze answers the questions it would otherwise guess at: where are the beats, how loud does it get, and how long does each variable spend at its maximum?
{ "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }], "compositions": [{ "id": "beats", "description": "The analyze report drawn as a lane: bass every 0.25 s and the nine beats, lit as the playhead passes", "width": 1280, "height": 720, "fps": 30, "duration": "6s", "background": "#f4f1ea", "props": { "bass": [0.816, 0.394, 0.45, 0.213, 0.275, 0.129, 0.184, 0.086, 0.816, 0.394, 0.45, 0.213, 0.275, 0.129, 0.184, 0.086, 0.816, 0.394, 0.45, 0.213, 0.275, 0.129, 0.189, 0.088], "beats": [0, 1, 1.5, 2, 3, 3.5, 4, 5, 5.5] }, "layers": [ { "id": "music", "type": "audio", "src": "assets/music.mp3", "fadeOut": "0.4s" }, { "id": "head", "type": "text", "anchor": "left", "x": 140, "y": 130, "font": "JetBrains Mono", "fontSize": 22, "fill": "#8a857a", "text": "vidmake analyze assets/music.mp3 → 9 beats, ≈120 BPM" }, { "id": "bar", "type": "rect", "anchor": "bottom", "x": "=140 + (i + 0.5) * 42.5", "y": 430, "width": 30, "cornerRadius": 2, "repeat": 24, "height": "=8 + 230 * pick(i, {{bass}})", "fill": "=t >= i * 0.25 ? '#161412' : '#d8d1c1'" }, { "id": "tick", "type": "ellipse", "x": "=140 + pick(i, {{beats}}) * 170", "y": 500, "width": 22, "repeat": 9, "fill": "=beats > i ? '#c92a26' : '#8a857a55'", "scale": "=1 + 0.8 * (beats == i + 1 ? beat : 0)" }, { "id": "lane", "type": "text", "anchor": "left", "x": 1178, "y": "=pick(i, [330, 500])", "repeat": 2, "font": "JetBrains Mono", "fontSize": 20, "fill": "#8a857a", "text": "${pick(i, ['bass', 'beats'])}" }, { "id": "playhead", "type": "rect", "anchor": "top", "x": "=140 + t * 170", "y": 170, "width": 2, "height": 360, "fill": "#161412" }, { "id": "readout", "type": "text", "y": 600, "font": "JetBrains Mono", "fontSize": 28, "fill": "#161412", "text": "bass ${bass:2} · beat ${beat:2} · beats ${beats}" } ] }]}That demo is the analyze report drawn as a lane. The bars are bass every quarter second and the dots are the beats, both copied from vidmake analyze --json into the composition's props. Each dot lights up when the live beats variable passes it, so you can watch the expressions agree with the report. Here is the same analysis in text, run on the demo itself:
$ vidmake analyze blog-021-beats.json --every 1s
6.00s at 30.0 fps (180 frames)
beats: 9, tempo ≈120 BPM
0.00 1.00 1.50 2.00 3.00 3.50 4.00 5.00 5.50s
onsets: 12 (TIME RISE PEAK BAND)
0.499s +12.3 dB -8.9 dBFS mid
1.008s +12.5 dB -8.8 dBFS mid
1.507s +12.4 dB -8.7 dBFS mid
2.005s +12.8 dB -8.4 dBFS mid
2.504s +12.4 dB -8.8 dBFS mid
3.003s +12.5 dB -8.7 dBFS mid
3.502s +12.4 dB -8.6 dBFS mid
4.001s +12.7 dB -8.3 dBFS mid
4.500s +12.6 dB -8.6 dBFS mid
4.590s +10.6 dB -10.6 dBFS mid
5.009s +12.5 dB -8.8 dBFS mid
5.507s +12.5 dB -8.7 dBFS mid
MEAN P10 MEDIAN P90 AT CEILING
amp 0.53 0.27 0.49 0.90 7%
bass 0.31 0.09 0.24 0.61 3%
TIME AMP mean/peak BASS mean/peak BEATS (bar = mean, ▏ = peak)
0.00s 0.54/1.00 ███████████ ▏ 0.46/1.00 █████████ ▏ 1
1.00s 0.54/1.00 ███████████ ▏ 0.16/0.38 ███ ▏ 2
2.00s 0.54/1.00 ███████████ ▏ 0.46/1.00 █████████ ▏ 1
3.00s 0.54/1.00 ███████████ ▏ 0.16/0.38 ███ ▏ 2
4.00s 0.54/1.00 ███████████ ▏ 0.46/1.00 █████████ ▏ 1
5.00s 0.47/1.00 █████████ ▏ 0.15/0.38 ███ ▏ 2The header gives the beat times and the tempo. The table summarizes amp and bass: mean, percentiles and AT CEILING, the share of frames at 0.98 or more. The curve has the mean and peak of each per row and the number of beats that start in it. --json returns all of it as data, and --every changes the row interval.
Point analyze at an audio or video file to plan an edit, or at a project to see the composition's soundtrack exactly as the expressions hear it: every audio layer and unmuted video, after trimStart, volume curves and fades. That second form catches things the file can't show. A music bed ducked under a voice-over loses the beats that are no longer loud enough to count, and a beat that falls on the volume ramp back up is detected late. The audio-reactive page has an example with both.
#Why the ceiling matters
amp and bass are normalized per composition: they are scaled so the loudest 2% of the soundtrack's frames read 1, and clamped there. This has been true since 0.2, but it wasn't in vidmake docs, which is where an agent looks, and it has a consequence: on a heavily compressed track, a loud chorus can sit at 1 for seconds. An "=1 + 0.5 * amp" that breathes nicely over the verse then holds the logo at 1.5 times its size for the whole chorus.
analyze warns when either variable is at its ceiling for 10% of the frames or more, names the longest stretch, and suggests a fix:
warning: `amp` is at its ceiling (≥0.98) for 62% of the frames, longest stretch 4.033s–4.467s; anything driven by `amp` will sit at its maximum there. Scale it down (`amp * 0.6`), compress it (`pow(amp, 2)`) or use `beat` for punctuationThat one comes from the steady tone on our test clip, the worst case. On real music the fix is usually a smaller multiplier or pow(amp, 2), which keeps the hits and pushes everything in between down. AGENTS.md now tells agents to run analyze before syncing anything to music, alongside probe.
#Bold, italic and other fonts inside a sentence
Rich-text spans used to change color only. Now each span also takes fontWeight, italic and font, and anything it leaves out comes from the layer:
"text": ["Made with ", { "text": "care", "italic": true }, " and ", { "text": "JSON.", "fontWeight": "bold", "fill": "#c92a26" }]
{ "fonts": [ { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }, { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" }, { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" } ], "compositions": [{ "id": "notes", "description": "Release notes as rich text: bold, italic and mono spans inside a Schibsted Grotesk layer, staggered by line", "width": 1280, "height": 720, "fps": 30, "duration": "5s", "background": "#f4f1ea", "layers": [ { "id": "title", "type": "text", "anchor": "left", "x": 220, "y": 250, "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 104, "letterSpacing": -4, "fill": "#161412", "enter": "fadeUp", "text": ["vidmake ", { "text": "0.2.1", "italic": true, "fontWeight": 400 }] }, { "id": "keys", "type": "text", "anchor": "top-left", "x": 224, "y": 340, "align": "left", "lineHeight": 1.7, "font": "JetBrains Mono", "fontSize": 34, "fill": "#161412", "start": "0.3s", "stagger": { "by": "line", "type": "fadeUp", "each": "0.25s" }, "text": "analyze\ndrawMode\nspans" }, { "id": "notes", "type": "text", "anchor": "top-left", "x": 430, "y": 340, "align": "left", "lineHeight": 1.7, "font": "Schibsted Grotesk", "fontSize": 34, "fill": "#8a857a", "start": "0.3s", "stagger": { "by": "line", "type": "fadeUp", "each": "0.25s" }, "text": [ "beats and loudness, ", { "text": "before", "italic": true, "fill": "#161412" }, " you design\n", "one pen through ", { "text": "every", "fontWeight": "bold", "fill": "#161412" }, " stroke\n", { "text": "bold", "fontWeight": "bold", "fill": "#161412" }, ", ", { "text": "italic", "italic": true, "fill": "#161412" }, " and ", { "text": "another font", "font": "JetBrains Mono", "fill": "#c92a26" }, " in one line" ] } ] }]}The notes under the title are a single Schibsted Grotesk layer: italic and bold words are spans, and "another font" is set in JetBrains Mono. The whole block is still laid out as one piece of text, so it wraps, aligns and staggers by line like any other. Size stays per layer: line height and the space between words come from the layer's font, which is why a monospace phrase sits on the same baseline grid as the proportional words around it. That's also why the keys column is its own monospace layer. Spaces inside a monospace span are still the layer's spaces, so padding doesn't line up columns.
Two details matter in practice. A span picks a real face of its family, and vidmake doesn't fake bold or slant: if a project font only declares its regular file, an italic span falls back to it. Declare every face you use. And syntax highlighting gets better for free: keywords can be bold and comments italic in the same code layer that a typewriter reveals and a cursor rides. See rich text.
#One pen, every stroke in order
A path whose d has several M commands is several sub-paths: the letters of a word, a box drawn twice for a sketchy look, an arrow and its head. Until now, drawStart and drawEnd trimmed every sub-path at the same time, measured as a fraction of the whole path's length. Short strokes finished almost immediately and long ones lagged, so a word looked dashed while it drew.
That behavior is still the default, now named drawMode: "each", and now documented. The new drawMode: "total" treats the sub-paths as one continuous stroke in the order they appear in d: the next starts where the previous one finished, as if a pen lifted between them.
{ "fonts": [ { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }, { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" }, { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" } ], "compositions": [{ "id": "sketch", "description": "A sketched diagram of ten strokes drawn by one pen with drawMode total", "width": 1280, "height": 720, "fps": 30, "duration": "6s", "background": "#f4f1ea", "layers": [ { "id": "title", "type": "text", "y": 150, "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 60, "letterSpacing": -2, "fill": "#161412", "enter": "fadeUp", "text": ["One pen, ", { "text": "every stroke in order.", "italic": true, "fontWeight": 400 }] }, { "id": "ink", "type": "path", "drawMode": "total", "anchor": "top-left", "x": 0, "y": 0, "fill": null, "stroke": "#161412", "strokeWidth": 3, "lineCap": "round", "d": "M109 267 Q243 266 376 270 Q369 353 370 455 Q231 449 104 447 Q106 359 113 262 M120 265 Q231 276 367 274 Q375 354 364 447 Q243 457 116 446 Q106 369 122 280 M385 360 Q440 346 495 360 M473 344 L497 360 L475 378 M514 266 Q647 268 776 267 Q766 357 773 455 Q634 451 504 451 Q509 361 507 262 M520 265 Q629 276 767 274 Q775 354 764 447 Q644 457 516 446 Q506 359 522 280 M785 359 Q840 346 895 360 M873 344 L897 360 L875 378 M910 268 Q1046 272 1176 268 Q1171 360 1173 455 Q1045 448 904 454 Q906 359 912 262 M920 265 Q1032 276 1167 274 Q1175 360 1164 447 Q1029 457 916 446 Q906 363 922 280", "drawEnd": { "from": 0, "to": 1, "start": "0.2s", "duration": "4s", "ease": "linear" } }, { "id": "pen", "type": "ellipse", "attach": "ink", "width": 14, "fill": "#c92a26", "opacity": { "from": 1, "to": 0, "start": "4.2s", "duration": "0.3s" } }, { "id": "label", "type": "text", "x": "=pick(i, [240, 640, 1040])", "y": 360, "repeat": { "count": 3, "delay": "1.38s" }, "enter": "fadeUp", "start": "1.45s", "font": "Schibsted Grotesk", "fontWeight": 800, "fontSize": 36, "letterSpacing": -1, "fill": "=pick(i, ['#161412', '#c92a26', '#161412'])", "text": "${pick(i, ['project.json', 'vidmake', 'video.mp4'])}" }, { "id": "caption", "type": "text", "y": 560, "font": "JetBrains Mono", "fontSize": 22, "fill": "#8a857a", "start": "4.4s", "enter": "fade", "text": "\"drawMode\": \"total\"" } ] }]}That diagram is one path of ten strokes: two loose outlines per box and a shaft and a head per arrow. The drawing tween is linear, so the pen keeps a constant speed, and the labels come in as it finishes each box. The red dot is attached to the path. attach has always followed the position along all the strokes in order, which matches total, so a pen or cursor now sits exactly on the stroke that is drawing. The paths page has a side-by-side of both modes on a handwritten word.
#The version number is right
Releases are tagged by CI, and the version bump isn't committed back to Cargo.toml. A source build of a tagged commit used to report the older Cargo.toml version, and then the daily update check announced, once a day, the release it already was. The build now reads the newest vX.Y.Z tag in the checkout's history and reports that when it's newer, so vidmake --version says 0.2.1 whether you installed a binary, ran vidmake update or built from a clone.
#Upgrading
Run vidmake update, or re-run the installer. Existing projects need no changes. A path that used several sub-paths keeps drawing the way it did, until you add "drawMode": "total".
If you drive vidmake from an agent, two habits are worth adding to its instructions. Run vidmake analyze on any music before writing expressions that react to it, and on the project again after trims and fades. And treat a ceiling warning like a lint warning: it's a bug until you've decided otherwise. The agent guide and the agent skill are updated with both.
Keep reading

Four reels, thirty seconds each
A Swiss poster, a piece of generative op-art, a data poem and a risograph collage. Each is a single vidmake JSON file, written, checked and rendered by an agent, using nothing but the four stock assets.
Read
What's new in vidmake 0.5
Markers name the beats of a video, decoration draws underlines, strike-throughs and highlights from the glyphs, design tokens and named easings bring a brand's system into a project, and WOFF2 fonts, synthetic italics, skewX, themed SVG icons, repeat origins and wipe edges close the gaps an agent hit making a 20-second ad.

Porting a Remotion composition to vidmake
A typical Remotion video (spring, interpolate, Sequence, TransitionSeries, a mapped list, audio and a reusable component) next to its vidmake port, concept by concept, with notes on what doesn't carry over.
Read