3 ms·
Hey this was also the first fluid sim paper I ever implemented! I haven't done any grid-based simulations (except maybe the classic "Real-Time Fluid Dynamics fo
by vedosity 2y ago
Hey this was also the first fluid sim paper I ever implemented! I haven't done any grid-based simulations (except maybe the classic "Real-Time Fluid Dynamics for Games" by Jos Stam), but I've been able to greatly improve compressibility by using "Position-Based Fluids" by Miles Macklin. Someday I'll dive into WebGPU and post a JS version on HN...
Short clip of my implementation here: https://imgur.com/a/2IARiBq https://imgur.com/a/2IARiBq
I like the different fluids in your sim though, I may try that myself.
- cholmon 2y agoVery cool! What does the changing color of the fluid indicate, particle velocity?
- shagie 2y agoI believe specific gravity. Things like "how do you properly make a B-52?" ( http://www.cocktailhunter.com/bartender-guide/specific-gravity-chart/ http://www.cocktailhunter.com/bartender-guide/specific-gravi... ) or a Pousse Café ( https://youtu.be/4OJd_phsa5w https://youtu.be/4OJd_phsa5w )
- vedosity 2y agoYes, particle velocity! I believe this clip is after I implemented metaballs too, so the particles blend together to make it feel more fluid-like.