Hacker News new | ask | show | jobs
by lagrange77 293 days ago
Cool!

Jos Stem style?

1 comments

Yes, this appears to use Stam's Stable Fluids algorithm. Look for the phrases "semi-Lagrangian advection" and "pressure correction" to see the important functions. The 3d version seems to use trilinear interpolation, which is pretty diffusive.