Fluid simulation in Rust - 1 MILLION particles!

97 points SignatureNeither3315 4 comments

Hey!

I built a real-time GPU fluid simulation in Rust and Vulkan for learning purposes.

It implements Divergence-Free SPH (DFSPH) using a GPU octree for neighbor search, running 1,000,000 particles at ~180 FPS on an AMD 6800XT.

Code: Github Repo

Feedback and questions are welcome!