These are chat archives for CoraleStudios/Colore

May 2016
Ryan Hill
May 08 2016 06:01
So i have been working on a simple custom color gradient for the Deathadder. However, I'm having issues with trying to get the equation for the gradient to work. Does anyone know how to do something like that?
Christopher Guckes
May 08 2016 11:15
mhh, basically a gradient is a number of interpolated colors between your start and end color.
the following formula should help you:
start.r + (stop.r - start.r) / steps
where steps is your led coordinate
r is the amount of red in your start and stop color
you need to do that for every bit (except alpha)
so use start.g and start.b accordingly