How to colorize particles by rules I am having pipes where I have liquid go through it.
I want to simulate/show the water and show some blue to red color animation. Blue for cold, red for heat/warmth.
For best control, it would be great to define some kind of color change areas on the path of the water simulation and when a water particle goes through this area, I want to change the color for this particle. The color needs to be kept, until the next color-change area is there and changes the color again.
So I could control and simulate a heat-transfer simulation.
Any ideas how to do this the best way?
Thank you guys!
EDIT:
Here is a screenshot of the animation. You can see the position by Particial works in general. But I want to colorize the blue particles inside the 3 red circles to the color red and they should in their color. I somehow lost my fluid simulation data, so I can't share the .blend file. Sorry.
You can just use a Particle Info node and use it's Position output to control the color of the particles