mueller-sph-rs
is a concise 2D implementation of Müller's "Particle-Based Fluid Simulation for Interactive Applications" (SPH) paper in Rust.
This is a reimplementation of my previous C++ SPH repository now including a parallel solver using Rayon. Please see the original accompanying tutorial for more information.
# install dependencies (debian/ubuntu)
apt install build-essential pkg-config cmake libfreetype6-dev libfontconfig1-dev
# build and launch demo
RUST_LOG=info cargo run --release
Press r
to reset simulation or space
to add a block of particles
This project is distributed under the MIT license.