Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: I implemented some colorful 2D fluid simulations[video] (youtube.com)
3 points by erkaman on April 28, 2018 | hide | past | favorite | 1 comment


Source code is here: https://github.com/Erkaman/fluid_sim

this is some flashy fluid simulations made using the techniques described in the article "Fast Fluid Dynamics Simulation on the GPU".

The code is minimalistic and is written in only ~1000LOC of C++, and uses only OpenGL and no frameworks whatsoever, so the code should be pretty readable.

Finally, note that the primary focus was on making flashy simulations, and not on physical realism.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: