FastLED 3.10.10
Loading...
Searching...
No Matches

◆ angleAt()

static fl::i32 angleAt ( unsigned long t,
unsigned long periodMs )
static
Examples
Polygon.ino.

Definition at line 96 of file Polygon.ino.

96 {
97 return (fl::i32)(((fl::i64)(t % periodMs) * kTwoPi) / (fl::i64)periodMs);
98}
static const fl::i32 kTwoPi
Definition Polygon.ino:85
static uint32_t t
Definition Luminova.h:55
fl::i64 i64
Definition s16x16x4.h:222

References kTwoPi, and t.

Referenced by sceneKnot(), sceneLayers(), and scenePinwheel().

+ Here is the caller graph for this function: