Can someone help me with making groups for 2 words in ws2812 I have

Can someone help me with making groups for 2 words in ws2812

I have made 2 words with my 3d printer: STAR ROCKER, in each letter are 8 ws2812 5 MM leds, only in letters A and O there are 9 ws2812 ledss, so in tottaly there are 82 in both words.

Now i want to make some light effects, i can use some standaards effect i al ready found but also play the the word and letters.
Example, the word STAR must be red, what is the right code to make that?
I have make this but i read somewhere else thats not the correct way, but how it must be, the should say that.

i have this code for array but now, how i drive i

int myLEDs[ ] = {1, 2, 3, 4, 5, 6, 7, 8};
int myLEDt[ ] = {9, 10, 11, 12, 13, 14, 15, 16};
int myLEDa[ ] = {17, 18, 19, 20, 21, 22, 23, 24};
int myLEDr[ ] = {25, 26, 27, 28, 29, 30, 31, 32};

int myLEDstar[ ] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32};

strip.setPixelColor(myLEDstar, c); // the word STAR is select but with SetPixel, how can i drive it with fastled, can someone help me with this?

strip.setPixelColor(myLEDs, c); // leter C wil be red

is there a example? thanks allot

I’m not totally sure what you’re asking, but does this help any? If not, please provide more info about what you are trying to do or what error you’re getting.

Add this near the top of your sketch with the other defines:
#define ARRAY_SIZE(A) ( sizeof(A) / sizeof((A)[0]) )

And then you should be able to do something like this in your program:

//light up letter S
uint8_t subsetLength = ARRAY_SIZE(myLEDs);

for(uint8_t i=0; i<subsetLength ; i++) {
leds[myLEDs[i]] = CRGB::Red;
}

or for the full star array:

//light up word STAR
uint8_t subsetLength = ARRAY_SIZE(myLEDstar);

for(uint8_t i=0; i<subsetLength ; i++) {
leds[myLEDstar[i]] = CRGB::Red;
}

If you want to share your complete sketch, please use http://gist.github.com and share the link your code.