Skip to content

WebGPU Compute · WGSL MLS-MPM + SSFR

Live WebGPU MLS-MPM & Hollow SDF Simulator

Continuum fluid, viscous honey, corotated jelly, and granular sand poured in real time against an analytical 3D SDF glass vessel. Toggle the collider live to see why naive convex hulls fail pouring and manipulation. Simulation only, no hardware tested

BOOTING·0 / 40,960 particles·64³ grid
Drag: orbit · Scroll: zoom · Shift+Drag: stir

01 · Continuum Compute

3D MLS-MPM + APIC

Quadratic B-spline transfer across a 64 cubed fixed-point atomic grid with Tait equation-of-state fluid pressure, viscous stress, polar-decomposed corotated elasticity, and granular plasticity.

02 · SDF Boundary Coupling

Hollow Cavity Verification

Analytical 3D signed distance gradients enforce wall contact without particle tunneling, letting visitors compare naive convex hulls against hollow geometry instantaneously.

03 · Screen-Space Fluid

Refraction & Fresnel Shading

Ray-sphere depth splats pass through separable narrow-range bilateral smoothing, view-space normal reconstruction, Beer-Lambert optical absorption, refraction, and ACES tone mapping.