Fluid simulation

Hi!

I want to ask you guys if you know anything easy and good enough for simulating fluids (2D mainly) with gravity and “blending/mixing” of 2 or more in a vessel, so that colors are mixed too, that is slightly better than simple metaballs, but not as hyper-realistic and thus complex? Preferably something that would be easy to do in Defold (GLSL shaders, Lua solutions or maybe something for a native extension at least). And fast to run on web.

I don’t need anything as complex and realistic as presented below, but putting it here just for idea reference:

2 Likes

LiquidFun comes to mind. Maybe it could be added to the existing Box2D extension (or a fork).

4 Likes