Liquid Smear
Viscous velocity smear buffer using ping-pong FBOs with relaxation memory.
Viscous velocity smear buffer using ping-pong FBOs with relaxation memory.
Double-buffered ping-pong FBO fluid simulation where cursor motion pushes viscous velocity fields that slowly diffuse, relax, and settle.
| Prop | Type | Default | Description |
|---|---|---|---|
| push | number | 1.4 | Cursor motion velocity impulse multiplier. |
| rad | number | 0.22 | Fluid brush dispersion radius. |
| relax | number | 0.975 | Temporal viscosity relaxation memory [0.9..0.998]. |
| spread | number | 0.35 | Neighboring pixel velocity diffusion factor. |
| amt | number | 1 | Visual refraction distortion depth. |
| disp | number | 0.4 | Chromatic aberration spectral dispersion. |
| spec | number | 0.6 | Specular reflection gloss intensity. |
| shade | number | 3 | Fluid surface gloss normal depth. |
| background | HTMLCanvasElement | HTMLImageElement | string | procedural | Custom background image URL or canvas source. |
| paused | boolean | false | Pause animation loop manually. |