The Drop · November 20, 2026

Why your music visualizer render stutters, and what costs frames

The audio comes out fine and the file is the right length, but the picture judders. I measured where the frames go, setting by setting, and the ones people switch off first are mostly not the ones costing them anything.

An open black PC case photographed from above, showing a CPU cooler with copper heat pipes and a small fan beside two HyperX memory sticks

Photo via Unsplash

Everything in a render happens inside one animation frame callback. The scene gets drawn, the effect gets composited over it, the overlays go on top, and the recorder takes whatever is on the canvas. Recording runs in real time while the track plays, which the long render post covers, so a render that lags is a question about how long one pass through that function takes on your machine.

A dropped frame does not slow anything down

The browser decides when to run that callback. The HTML specification says a page gets a rendering opportunity only by "accounting for hardware refresh rate constraints and user agent throttling for performance reasons", and that those opportunities depend on "other factors such as page performance". Fall behind and the callback runs less often.

What that does to the file comes from the capture specification, which adds a frame to the recording only "if new content has been drawn to the canvas since it was last painted". A frame the app never drew does not exist as far as the recorder is concerned, while the audio is a separate track on its own clock, so the length of the video is unaffected.

I rendered the same 20 second track twice on one machine, once normally and once with the processor handicapped six times over and every overlay switched on. The healthy file came back holding 1,199 frames, which is exactly 60 a second. The starved one came back with 511 and 535 across two runs, about 26 a second, and the canvas in those runs was only painting about 46 times a second to begin with. The song and the length came out identical and the picture count did not. File size followed it down too, 32.5 MB against 22.1 MB from the same settings, which makes a render that came out suspiciously small worth a second look.

Your content changes slow down with it

One thing does change. The check that swaps your text line or image runs once per frame, so a change can only land on a frame that actually gets painted, and it rounds up to the next one. At 130 BPM the default Every 1/4 beat asks for a change every 115.4 milliseconds. On a machine keeping up it measured 118.8. With the frame time pushed to 52.6 milliseconds it measured 136.6. Picture changes stretch in proportion and never catch the beat back up afterwards, because the grid restarts from the frame that fired, which is the same walk the lyrics post measured over a 96 second loop.

With graphics acceleration working, one setting costs frames

I put every effect, artifact and overlay through the real app in Chrome, flash on a fixed interval, one text line, one typeface, so the setting under test was the only thing changing. Then I handicapped the processor eight times over to see what would break.

Nineteen of the twenty one settings came in between 6.2 and 6.5 milliseconds a frame. Grain and static cost two tenths of a millisecond. The VHS band, the scanlines, the shake, the glitch slices and all four vocal visualizer styles cost nothing I could measure.

The exception is the Music notes setting under flying objects, which went from 6.3 milliseconds a frame to between 21.8 and 32.1 across two runs. The reason is in what it draws. A shapes flyer is one filled rectangle and a streak is a gradient line, but a note is a character of text, and that branch sets a new font size and a new rotation for every object on every frame, against a ceiling of forty objects on screen. Glyph rasterisation does not come off the graphics card the way a filled rectangle does. Switching to Shapes or Light streaks put the frame cost straight back to 6.3, and the note animation post has the rest of what that overlay does.

Without acceleration the ranking appears, and it is backwards

Some machines never get an accelerated canvas. An old laptop will do it, so will a driver the browser has blocklisted, and so will a remote desktop session. To see what that side of the world looks like I ran the same twenty one settings through a software rendered build at a four times handicap, three times each, repeating to within about two tenths of a millisecond.

SettingFrame costAgainst the cheapest
Invert, strobe, flicker, vocal bars, shape and streak flyers16.1 to 16.9 msfree, sitting on the cap
Glitch slices17.4 ms1.1x
Zoom punch17.7 ms1.1x
Film grain20.4 ms1.3x
TV static20.7 ms1.3x
Flying objects, music notes23.0 ms1.4x
Shake26.3 ms1.6x
Scanlines27.0 ms1.7x
VHS33.2 ms2.1x
Everything at once52.6 ms3.3x

Two of those are backwards from the post on renders coming out blurry, which measured what each setting costs in bitrate and found grain and static the most expensive in the app by a wide margin, with shake and zoom nearly free. Here shake is the most expensive effect and scanlines costs more than either noise texture.

Both results hold, because they are different costs. A codec handles a whole frame sliding sideways with a single motion vector, so shake compresses for almost nothing while the renderer redraws every pixel at a new position and a new angle it rolls fresh every frame. Scanlines is the mirror of that, one rectangle filled with a repeating four by four pattern across the whole 1920 by 1080 frame, which compresses to nothing because it never changes and costs half a million pattern lookups to draw.

What slows down, and what starts skipping

Lost frames do not treat everything on screen the same way. Flying objects move a fixed number of pixels per painted frame with no correction for how long the frame took, so they genuinely slow down.

The persistent flicker, the strobe effect's black gap and the checkerboard's phase run off a real clock instead, so they keep their speed and you see less of them. At the shipped 15 Hz the flicker changes phase every 33.3 milliseconds, two frames at 60 a second. At a 16.7 millisecond frame time all 127 phase changes in the test landed on screen. At 36.5 milliseconds, 83 of 134. At 65.6 milliseconds, between 18 and 30 of 139. The flicker is still running at 15 Hz, but you are being shown one flip in six at uneven intervals, and a flicker you see a sixth of does not read as a flicker.

Your artwork is probably not the problem

A single 24 megapixel photo cost nothing at all, 6.3 milliseconds a frame against 6.3 for a text only render, even under the eight times handicap, because the browser decodes it once and the per frame draw is a scaled copy. Eight of them is where it falls over: at the same handicap one run hit a 1.2 second stall and the other barely painted, managing four frames in four seconds. Resize a big pile of pictures before you upload them.

What to do about it

One more thing, since this is a strobe tool before it is anything else. Fast flashing can trigger seizures in people with photosensitive epilepsy, and judging the rate off a stuttering preview gives you the wrong answer, so check the finished file and put a warning on anything you publish.

Render it and see

Load a track, set it up, and get a 1080p 60fps file out. No signup, no watermark, and the audio never leaves your browser.

Open the visualizer

More guides on The Drop, or start at the home page.