-
make solid change color at a certain time (expression NOT keyframed)
Well it’s not excactly what I’m going to do – but lets keep it simple 🙂
I have an animation controlled by a slider (value 1-15).
I need a solid to change smoothely between colors depending on the value of the slider.
E.g. 100% yellow at 1, 100% red at 7 and 100% yellow at 15.
I could imagine something with Math.sin, but it would be rather complex in order to hit the 100% colors, since I need them to be placed rather assymetrical on the 1-15 line of values.How do I make that in expressions?
with some if-then-else stuff and some sort of interpolation?