Colorwipe on WS2812 LED strip where a group of leds go on then off together

So all you've tried is copying and using code you don't understand?

You should probably forget all of that, and start at the beginning. Do you know how to control 1 LED?