Switching views preserves the simulation. On slower devices, simulation time advances more slowly; the actual speed is shown below the scene.
About this experiment
3D MLS-MPM + APIC with an elastoplastic snow model. WebAssembly runs the same double-precision C++ core as the native reference; WebGL 2 renders the scene.
The snow surface is reconstructed from particle density, with cool shadows, soft shading and procedural crystal detail. The particle view shows the original samples. Both views share one simulation.
32³ grid · Fixed step 0.0005 s · Density 400 · Compression threshold 2.5% · Stretch threshold 0.75%. Lengths are in meters; stiffness is in Pa.
Original project ↗