# change particle color on interval

I am learning blender and I would like to simulate a particle system. I have successfully done that with single colored particles. I am not sure how to change the color of the particles in equal interval. For ex, I want the particles to start with red color and after few frames change to green color and then back to red and vice versa for the entire lifetime.

I am not sure of what nodes to play with. Some help is much appreciated.

• Per-particle, or all together? – Robin Betts Aug 30 '20 at 16:57

If you want the change to be frame dependent, as opposed to lifetime dependent, I would suggest using a Value node with #frame written as it's input (makes value = current frame at any point), and then using some math to get the correct interval for your needs. Use this as a material for the object you're instancing as a particle.