Skip to content

PinwheelModifier

Source: PinwheelModifier.h

PinwheelModifier

class PinwheelModifier
src/light/modifiers/PinwheelModifier.h:25

Inherits: ModifierBase

Modifier remapping the grid into radial petals.

Public Attributes

uint8_t petals = 60

int16_t swirl = 30

bool reverse =

uint8_t symmetry = 1

uint8_t zTwist = 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 void defineControls() override : defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().

virtual inline void modifyLogicalSize(Coord3D &) override : STATIC, build-time, once per rebuild in child order: fold the logical box.

virtual inline bool modifyLogical(Coord3D &) const override : STATIC, build-time, per physical light in child order: fold a coordinate into this stage's logical space (in place).