2 and 3-dimensional fluid simulation library in Rust.
See the code
Users guide | 2D Documentation | 3D Documentation | Discord
Salva is a 2 and 3-dimensional particle-based fluid simulation engine for games and animations. It uses nalgebra for vector/matrix math and can optionally interface with rapier for two-way coupling with rigid bodies, multibodies, and deformable bodies. 2D and 3D implementations both share (mostly) the same code!
Examples are available in the examples2d and examples3d directories. Because those demos are based on
WASM and WebGl 1.0 they should work on most modern browsers. Feel free to ask for help
and discuss features on the official discord.
The name of this library is inspired from the famous surrealist artist Salvador Dalì. The logo of Salva
is inspired from its renown painting The Persistence of Memory.
cargo run --release -p examples2d --bin all_examples2
cargo run --release -p examples3d --bin all_examples3
109 followers · starred May 2025
571 followers · starred Aug 2025
21 followers · starred Jul 2024
111 followers · starred Jan 2026
2 and 3-dimensional fluid simulation library in Rust.
See the code
Users guide | 2D Documentation | 3D Documentation | Discord
Salva is a 2 and 3-dimensional particle-based fluid simulation engine for games and animations. It uses nalgebra for vector/matrix math and can optionally interface with rapier for two-way coupling with rigid bodies, multibodies, and deformable bodies. 2D and 3D implementations both share (mostly) the same code!
Examples are available in the examples2d and examples3d directories. Because those demos are based on
WASM and WebGl 1.0 they should work on most modern browsers. Feel free to ask for help
and discuss features on the official discord.
The name of this library is inspired from the famous surrealist artist Salvador Dalì. The logo of Salva
is inspired from its renown painting The Persistence of Memory.
cargo run --release -p examples2d --bin all_examples2
cargo run --release -p examples3d --bin all_examples3
109 followers · starred May 2025
571 followers · starred Aug 2025
21 followers · starred Jul 2024
111 followers · starred Jan 2026