best way to transition color ?
Monkey Forums/Monkey Programming/best way to transition color ?
| ||
I need to transition from 255,0,0 to 255,255,0 to 0,255,0 over a fixed period of time anyone got a function like this ? The values are not important really they could be anything, those are just the values I am working with, I'm gona go have a abash at this now just wondering if anyone has anything already they would share or if you have any ideas on how to best do it. |
| ||
this is done no need for input.. thanks. |
| ||
So would you show us your way of doing it? Otherwise this post is like a story with an open end ;-) |
| ||
lol yeah ... I noticed that I actually didnt need to do anything complicated because actually I am only going from one color to the next so all I did was divide the time or length of the transition by 255 and then with a timer each time the period/result of the division had passed I inced the colour value by 1, like I said nothing fancy. |