I would like to change the color of an object through a rainbow of colors. For example, the animation loads and the background object is blue within a minute or so it’s purple, then red, then orange, yellow, green, and back to blue. basically r, g, and b should cycle through their values on a timer.
I want to be able to control the speed of the cycling so i can slow it down or speed it up
it would be awesome to have an array of hex values that get converted to RGB and then cycled through so the number of colors it cycles through as well as the order could be controlled.
i’m sure this can be done, and i have a basic theory of how to do it but i wonder if anyone out there has seen this done and could get me started w/ an example.
i’m working on this currently, so i’ll post if i finish before someone posts the answer
thanks in advance for your help