Heatmaps is there a better way?

Hi everyone,

I am trying to setup a material that I can show fatigue/stress on a part, but not sure the best way to go about it, it doesn’t have to be scientifically correct but still look like it could be plausible.

I have created the below test gif to show what I currently have setup I am using an empty for the mapping of where I want to place the effect.

Also my rough quick node setup is below, to show my way I achieved the current effect

Thanks in advance for any ideas people may have

Dynamic Paint maybe? It will create vertex colors, which you can use inside material.

Thanks for the reply I have had a look into doing it with dynamic paint but your mesh seems to have to be really dense with vertices to get a similar result to the above that I have created. Unless I am doing it wrong in anyway? Has anyone got any example of a setup?

There is also bake image sequence option in DP settings which relies on UV map and doesn’t require density mesh. But needs to be baked before using.