3D & Generative · Oct 9, 2026

Found a WebGL fluid sim and replaced the mouse with a music analyser: the bass note is where the ink enters, dissonance sets the vorticity, and a closing low-pass turns the pool to syrup

Found a WebGL fluid sim and replaced the mouse with a music analyser: the bass note is where the ink enters, dissonance sets the vorticity, and a closing…

dontomasinou/dontomasino
View on Reddit
Model not specified · creator-reported
36 net upvotes on Reddit, checked Oct 15, 2026

Open the original Reddit post for the version with sound.

From the creator’s post · dontomasino on Reddit
I found **Pavel Dobryakov's WebGL-Fluid-Simulation** last week — https://github.com/PavelDoGreat/WebGL-Fluid-Simulation — the one where you drag your mouse through a pool of ink and it swirls. It's MIT, it's lovely, and under it is an ordinary Stam stable-fluids step: splat a force and some dye into the velocity field, vorticity confinement, divergence, 20 Jacobi sweeps for pressure, project, advect. (His is itself after GPU Gems ch. 38, Harris 2004, and Stam's 1999 paper.) So I wired my music analyser in where the mouse used to be. The solver is his and essentially unchanged; what I added is the grammar that turns audio features into splats, and that part was written with Claude. The rule I tried to stick to is **one musical element, one channel**, so that you can point at something on screen and name what made it: - **The bass note is where the ink enters.** A persistent emitter near the floor, whose x is the sub's pitch class laid around the circle of fifths — so the inlet…
From the creator

The prompt behind it.

The creator has not shared a public prompt. Visit the original post for more about this work.

Video and prompt by dontomasino. Original post ↗