it/docs

Effects

Last updated:

Interval

Location: addon_suite/effects/interval

interval

Run a function at a specified interval.

namedesc
intervalThe time in ms between executions
functionThe function to call each time. The function gets the current layer as an argument

Shader

Shader

The generic shader function. A shader is executed for every pixel of a layer. Each pixels either returns:

  • An RGBColor
  • nil for no change
  • "STOP" to immediately stop the shader

The params to the fragment shader varies between pixels.

This function should not be directly called in scripts, instead, addons should wrap it for the specific fixtures in use.

On this page