Skip to content

PaintBrushEffect

Source: PaintBrushEffect.h

PaintBrushEffect

class PaintBrushEffect
src/light/effects/PaintBrushEffect.h:21

Inherits: EffectBase

Effect that paints moving brush-stroke lines across the layer.

Public Attributes

uint8_t oscillatorOffset = 6 * 160 / 255

uint8_t numLines = 255

uint8_t fadeRate = 40

uint8_t minLength = 0

bool color_chaos =

bool phase_chaos =

Public Methods

virtual inline constchar * tags() const override : Curated emoji tags for the module picker's chip filter — extras beyond the role chip (which the UI derives from role() on its own).

virtual inline Dim dimensions() const override : Which axes the effect iterates — a claim, not a guarantee about the layer.

virtual inline void defineControls() override : defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().

virtual inline void tick() override