Start from honey
The default here is the Honey preset: flow drag 1.35, swirl 4, dye fade 0.03. Strokes stop travelling almost immediately and pool instead of curling away.
Same solver, different viscosity: honey-thick flow that pools instead of curling, colour that stays put, and one slider that takes you all the way back to water.
This browser can’t run the WebGL2 simulation.
Try the latest Chrome, Edge, Firefox or Safari on desktop.
The default here is the Honey preset: flow drag 1.35, swirl 4, dye fade 0.03. Strokes stop travelling almost immediately and pool instead of curling away.
Flow drag is viscosity in disguise. Lower it towards 0.2 and the same stroke turns into a ribbon with curls; raise it past 1 and momentum dies where you drew it.
With dye fade at 0.03 the colour is effectively permanent, so you can build up layers and compare two pours side by side on the same canvas.
In this solver every frame multiplies the velocity field by a decay factor derived from the drag value. High drag means the field forgets its momentum quickly: the fluid still conserves mass, but it stops moving almost as soon as you stop pushing. That is exactly what a high-viscosity liquid looks like from above.
Because the pressure projection still runs, thick fluid does not become compressible — it simply redistributes slowly. Pour a stroke into a corner and you can watch it spread outward over several seconds instead of jetting across the canvas.
It changes how quickly disturbances die out and how much structure survives. It does not change density, surface tension or wetting, none of which are modelled here. So this is a good way to build intuition for “thick vs thin”, and a bad way to predict how a real liquid climbs a wall.
The swirl slider is the second half of the story: viscous fluids do not sustain small vortices, which is why the Honey preset sets it to 4 instead of the default 26.
Pick Honey, draw one long horizontal stroke across the middle, then switch to Water and draw the same stroke in the same place. The difference in how far the ends keep travelling is the whole point — it is the same solver, the same grid and the same dye, with one parameter moved.
Then set dye fade to 0.1 and repeat: the layer underneath becomes visible, which is useful for comparing two pours without clearing the canvas.
The same engine with different parameters. Water is low-drag and keeps long filaments; liquid (honey) is high-drag, low-swirl and nearly permanent, so it pools where you put it.
Not in one canvas — the dye channel is a single scalar field. You can approximate a comparison by pouring one colour, recording it, then clearing and pouring the other.
Because small vortices are turned off. Most of the visual “texture” in a fluid image comes from vorticity; a viscous liquid has very little of it, so the surface reads as smooth and heavy.
Yes. The playground is free and exports are clean — Record 5s writes a WebM directly from the canvas.