Hi is there any way to get two rows of leds running at the

Hi is there any way to get two rows of leds running at the same time from lef tto right?
i have this but it flickers and barely works

void test2(){
for (int i = 0; i <= 10; i++) {
for (int j = 11; j <= 21; j++) {
leds[i] = CRGB::White;
leds[j] = CRGB::White;
showStrip();
}
}
}

Try using just one for loop.

void test2(){
for (int i = 0; i <= 10; i++) {
leds[i] = CRGB::White;
leds[i+11] = CRGB::White;
showStrip();
}
}

And to remove animation aspect you can move the showStrip to outside of the loop.