FastLED 3.10.8
Loading...
Searching...
No Matches

◆ coolLikeIncandescent()

void coolLikeIncandescent ( CRGB & c,
uint8_t phase )
Examples
TwinkleFox.ino.

Definition at line 285 of file TwinkleFox.ino.

286{
287 if( phase < 128) return;
288
289 uint8_t cooling = (phase - 128) >> 4;
290 c.g = qsub8( c.g, cooling);
291 c.b = qsub8( c.b, cooling * 2);
292}
unsigned char uint8_t
Definition s16x16x4.h:209

Referenced by computeOneTwinkle().

+ Here is the caller graph for this function: