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

I understand the code I have and what part does what. I just do not know the terminology to write new code.