ok wow
so first of all it works!
but now i came into another problem (that can be another question but maybe if you solved that one you can also solve the second problem ?
so in short, it works, it makes the pattern repeate and it's all amazing
the problem is... that the pattern started from darkest, to lightest, so when it repeates it just looks wierd becaouse it causes it to be from lightest bolb... imidiatly to darkest one which looks bad
so i fixed it by making the "wave" or the "gradient" like go half the strip to brightest color
and go half the strip to darkest color
so the start bolb and end bolb are the same color now so if this will repeate it can be amazing
here is the code i did to achieve that
for (int i = 0; i < NUM_LEDS; i++){
if (i < (NUM_LEDS/2)) {
leds[i] = CRGB( round (170 + (i * 0.533333)), 0, round (20 + (i * 0.533333)));
} else {
leds[i] = CRGB( round (330 - (i * 0.533333)), 0, round (180 - (i * 0.533333)));
}
}
but the issue now that if i add your fix it wouldn't work, becaouse it wouldn't know the num/2 anymore, and it all gets wierd...
Based on this updated code i showed in here
do you know of a way to achieve what i achieved before with your method
how to offset this one ?