Lerp Led Color Modifier

Modifies colors to match the desired length using interpolation.

Format

{
  "Type": LerpLedColorModifier",
  "Config": {
    "LerpType": <enum>
  }
}

Variables

LerpType

Determines interpolation type.

Allowed values:

  • "Smooth" - Stretches or shrinks effect colors list to match the device led count using a gradient.
  • "Nearest" - Stretches or shrinks effect colors list to match the device led count by copying/removing the nearest color.

Required: No
Default value:

"Smooth"

Example:

"LerpType": "Nearest"

Example