Skip to content

Modifiers

A modifier (💎) is an effect on an effect. It can change the size of the effect layer, and moves effect effect pixels around (e.g. rotate) or expand to other dimensions, e.g. a line can become a circle.

Tip

Multiple modifiers can be defined per layer. The order of multipliers matter e.g. rotate then multiply is different then multiply then rotate.

Modifier 💎 Nodes

Below is a list of Modifiers in MoonLight. Want to add a Modifier to MoonLight, see develop. See also Live scripts to add runtime Modifiers.

The following Modifiers are defined in MoonLight. Some found there origin in WLED and WLED-MM (Expand1D):

Name Preview Controls Remarks
Multiply 🧊 Multiply Multiply
Mirror 🧊 Mirror Mirror
Transpose 🧊 Transpose Transpose
Circle Circle
Rotate Rotate Rotate
Checkerboard Checkerboard Checkerboard
Pinwheel 🧊 PinWheel PinWheel Projects 1D/2D effects onto 2D/3D layouts in a pinwheel pattern.
Swirl: bend the pinwheel
Rotation Symmetry: rotational symmetry of the pattern
Petals Virtual width
Ztwist twist the pattern along the z-axis
Height: distance from center to corner
RippleYZ 🧊 RippleYZ RippleYZ 1D/2D effect will be rippled to 2D/3D (🚨)
Shrink: shrinks the original size towards Y and Z, towardsY: copies X into Y, towardsZ: copies XY into Z

🚨: some effects already do this theirselves e.g. FreqMatrix runs on 1D but copies to 2D and 3D if size allows.