codepenz
← Back to catalog

Liquid Fluid-Sim Content Reveal

A full Navier-Stokes fluid simulation running in a WebGL fragment shader, used as a liquid mask: moving the cursor stirs a colored dye field that inverts the display shader's alpha, wiping away a photo underneath.

UI LayoutsEffectsTransitionswebglshaderfluid-simulationinteractive
Added July 7, 2026
Liquid content reveal