Skip to content

Repository files navigation

Fluid Simulation

Implementation of Fluid Simulation for Dummies using the new SDL3 GPU API with compute shaders

video1.mp4

Building

Windows

git clone https://github.com/jsoulier/fluid_simulation --recurse-submodules
cd fluid_simulation
mkdir build
cd build
cmake ..
cmake --build . --parallel 8 --config Release
cd bin
./fluid_simulation.exe

Linux

git clone https://github.com/jsoulier/fluid_simulation --recurse-submodules
cd fluid_simulation
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 8
cd bin
./fluid_simulation

Shaders

Shaders are precompiled. To build locally, add SDL_shadercross to your path

About

Fluid Simulation using SDL3 GPU with compute shaders

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages