It’s time to release the demo I worked on for the past months during my spare time.
It’s not finished yet (still some docs to write + trying a WebGPU compute shader implementation of the fluid simulator) but I may not be able to work on this in the coming weeks so I wanted to release something now.
It’s a fluid simulation and rendering. In fact, it’s more the rendering side of things than the simulation part: there’s a simulator, but it’s quite basic at the time (still, collisions with particles are handled in the demo). Who knows, the rendering part may be integrated into Babylon.js in the future (need to discuss it with the team)…
The wine glass is my favorite. If you move it very slowly in circles can even make a little whirlpool form in the middle. Move it too fast though and well, a mess. Could make a whole game out of that there : )
Regarding the rendering part, yes I think we will be able to integrate it into the engine.
For the simulation part, it’s a bit too rough and not really production ready to be used. It’s better to use it as a starting base for your own experiments.