Custom setup for advecting color into fluids using point clouds.
It's a separate step from the main fluid sim, so it can be repeated with different variation of colour.
The main advantage of using pointClouds over field advection is that the color doesn't loose intensity due to diffusion of fields. This means that in all the areas of the fluid there will be a good color preservation, even with very low density.
The distribution of points ensure that the volume is evenly filled up, and there are no gaps or clumps that could be created using a simpler point advection. In this way the point number is optimized and the sim is faster..