Skip to content

PlasmaEffect

Source: PlasmaEffect.h

PlasmaEffect

class PlasmaEffect
src/light/effects/PlasmaEffect.h:10

Inherits: EffectBase

Plasma effect: summed sine waves forming rolling blobs.

PlasmaEffect card

Public Attributes

uint8_t bpm = 30

uint8_t scale_x = 48

uint8_t scale_y = 48

uint8_t hue_shift = 0

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