CRGBArray Question Is there a way to create a set of leds that is

CRGBArray Question

Is there a way to create a set of leds that is every other led or every third led?
like this = 1 2 1 2 1 2 or this 1 2 3 1 2 3 1 2 3 1 2 3

I can do it with a for loop but that’s no fun

No, currently only a continuous string of pixels can be used with CRGBArray. I usually use some sort of formula if I want to do a certain pixel spacing.

Here’s a repeating pattern example:

And here’s a marquee example where the spacing can be adjusted (even while running).

Fantastic, thanks for the quick reply!

There is a plan to eventually support skip definitions like this, but not yet.