Unity-Fluid-Simulation icon indicating copy to clipboard operation
Unity-Fluid-Simulation copied to clipboard

An Implementation of Smoothed Particle Hydrodynamics in Unity

Unity Fluid Simulation

A Unity Realtime Fluid Simulation using SPH and Unity

Slides

Jet

Implementing smoothed particle hydrodynamics (SPH) in C# using this tutorial.

Currently supports 1000 particles at 30 fps realtime on an Intel I7-12700 CPU using spatial partitioning.

See also the Python implementation here.

I also made a devlog about this project here:

Youtube Devlog