Skip to content

RingsEffect

Source: RingsEffect.h

RingsEffect

class RingsEffect
src/light/effects/RingsEffect.h:15

Inherits: EffectBase

Effect of expanding concentric rings from random centres.

RingsEffect card

Public Attributes

uint8_t count = 2

uint8_t speed = 30

uint8_t thickness = 3

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

Public Static Attributes

constexpruint8_t MAX_RIPPLES = 8