____ ____ ____ ____ ____ _ ___ ____ _____ _ _ ____ _
/ ___|| _ \| _ \ / ___|| _ \| | / _ \| _ \| ____| \ | |/ ___| |
\___ \| |_) | | | | \___ \| | | | | | | | | |_) | _| | \| | | _| |
___) | __/| |_| | ___) | |_| | |___ | |_| | __/| |___| |\ | |_| | |___
|____/|_| |____/ |____/|____/|_____| \___/|_| |_____|_| \_|\____|_____|
A simple (unoptimized) 2D implementation of the SPH (Smoothed Particle Hydrodynamics) method for water simulation in C++. Inspired by this code Uses SDL + opengl, no shaders. The guts of the simulation is in src/sph.cpp. The rest of the code is fluff for creating the UI and rendering and can be ignored.
On Linux:
sh ./RUNME
On MacOS:
sh ./RUNME
On Windows: (install msys2 first via https://www.msys2.org/)
sh ./RUNME.windows.mingw64
If it doesn't build, just email goblinhack@gmail.com for help