FastLED 3.9.15
Loading...
Searching...
No Matches

◆ coolLikeIncandescent()

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

Definition at line 280 of file TwinkleFox.ino.

281{
282 if( phase < 128) return;
283
284 uint8_t cooling = (phase - 128) >> 4;
285 c.g = qsub8( c.g, cooling);
286 c.b = qsub8( c.b, cooling * 2);
287}
unsigned char uint8_t
Definition s16x16x4.h:209

Referenced by computeOneTwinkle().

+ Here is the caller graph for this function: