Skip to content

lucas-schuermann/mueller-sph-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Running

# 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

License

This project is distributed under the MIT license.

About

A concise 2D implementation of Müller's interactive smoothed particle hydrodynamics (SPH) paper in Rust

Resources

License

Stars

Watchers

Forks

Languages