| Crates.io | slosh3d |
| lib.rs | slosh3d |
| version | 0.3.1 |
| created_at | 2025-09-20 14:56:38.90028+00 |
| updated_at | 2026-01-21 13:23:10.664359+00 |
| description | Cross-platform GPU 3D Material Point Method implementation. |
| homepage | |
| repository | https://github.com/dimforge/slosh |
| max_upload_size | |
| id | 1847842 |
| size | 9,979,851 |
SLANG_DIR environment variable: SLANG_DIR=/path/to/slang.
Note that the variable must point to the root of the slang installation (i.e. the directory that contains bin and lib).cargo run --release --example testbed2cargo run --release --example testbed3This gives some insights of some interesting usages of MPM (the Material Point Method) for deformable physics simulation. Note that it doesn’t imply that slosh currently implements these models: