can the led pattern be used in the program like this?

can the led pattern be used in the program like this?

#include “FastLED.h”

#include “pattern01”
#include “pattern02”
#include “pattern03”
#include “pattern04”
#include “pattern05”
#include “pattern06”

if possible, anyone have the example code?

I like encapsulating the pattern work in a class, sometimes:

@Sheena_Variasi That’s exactly how I write my larger routines. Combined with lots of comments, it makes them MUCH easier to read. I find a ‘wall of code’ practically unbearable.

You may need to change the location of those other includes to be close to the setup() routine. See this one:

https://github.com/atuline/FastLED-Demos/tree/master/seirlight

@Andrew_Tuline Nice collection of demos!