Is there any documentation on how the effect engine works?

I’m trying to build some static light effects that don’t loop and only turn on or off.
Currently, I’m at the point where I can create my custom effect and enable it via the UI.

I’m struggling with the timing concept within the light effects; there is no delay (which makes sense).
Can anyone give me an example snippet on how I could turn on LED after LED and have it not loop?


I am not sure I understand your question or request, but there are a few ways to keep information of effect state between calls.

One is use of SEGMENT (or SEGENV) variables, another is use of allocateData() memory.

There are a few effects that use both ways.