dl-n-lb / simple_fluid_sim

Simple single pass fluid simulation with sokol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple 2D fluid simulation

on the gpu using sokol and cimgui

to build:

// download sokol and cimgui, and compile cimgui to the platform you want
// edit in the Makefile the directories for them
make debug  // for debug builds
make release  // for release builds
make wasm  // for web builds 

TODO

  • FIXME: boundaries DO NOT behave correctly
  • add post processing

About

Simple single pass fluid simulation with sokol


Languages

Language:C 56.7%Language:GLSL 32.7%Language:Makefile 5.7%Language:CSS 2.4%Language:HTML 2.4%