You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adrilight works great. I would like to have a feature that would enable select color from color wheel as a static color and control the speed of random colors effect.
The text was updated successfully, but these errors were encountered:
iLLiac4
changed the title
Color wheel and speed of rainbow effect
Color wheel and speed of random colors effect
Oct 8, 2018
I was enable to add a slider to select HUE from 0-255 and a on-off button to turn color transition
so you can select static color if you need or let them change automatically (rainbow switch on). just simple code
` for (int i = 0; i < UserSettings.LedsPerSpot; i++)
{
if (!UserSettings.SendRandomColors)
{
outputStream[counter++] = spot.Blue; // blue
outputStream[counter++] = spot.Green; // green
outputStream[counter++] = spot.Red; // red
allBlack = allBlack && spot.Red == 0 && spot.Green == 0 && spot.Blue == 0;
}
else
{
allBlack = false;
var n = UserSettings.zoecounter;
if (!UserSettings.rainbow)
{
var c = ColorUtil.FromAhsb(255, n, 1, 0.5f);
outputStream[counter++] = c.B; // blue
outputStream[counter++] = c.G; // green
outputStream[counter++] = c.R; // red
}
else
{
var k = frameCounter % 360;
var c = ColorUtil.FromAhsb(255, k, 1, 0.5f);
outputStream[counter++] = c.B; // blue
outputStream[counter++] = c.G; // green
outputStream[counter++] = c.R; // red
}
}
}`
Hi.
Adrilight works great. I would like to have a feature that would enable select color from color wheel as a static color and control the speed of random colors effect.
The text was updated successfully, but these errors were encountered: