Fluid

Simulating dye in a fluid



Notes

Fluid simulation based on Mike Ashe’s Fluid Simulation for Dummies re-implemented in Golang. There is a Coding Train video which follows the same article in 2D, but I was keen to stick to the 3D version.

Unfortunately it’s hard to find a good explanation of what is actually going on with this method, so even after a fair amount of reading around my intuition for what is going on is still pretty shaky.

Another issue is the speed – keeping this in 3D (and probably some inefficient implementation) means that it’s really slow even at low resolutions. I don’t have the hardware or knowledge of GPUs to get much more out of it that way, so instead I may look for a faster method if I can find one.