No mesh exists
The glass is an isocontour of four inverse-square fields evaluated for every pixel.
Shader Studies · implicit surfaces
Four invisible fields merge into a refractive surface. Move one with your pointer, change its density, and send a shockwave around the liquid edge.
native WebGL · CSS-token colour uniforms · Canvas-free fragment field
The glass is an isocontour of four inverse-square fields evaluated for every pixel.
Two neighbouring samples approximate a normal that bends the internal line field.
The fourth metaball follows mouse or tap input and changes density from the control.