Definition at line 187 of file twinklefox.h.
187 {
189 u8 fastcycle8 = ticks;
190 u16 slowcycle16 = (ticks >> 8) + salt;
191 slowcycle16 += sin8(slowcycle16);
192 slowcycle16 = (slowcycle16 * 2053) + 1384;
193 u8 slowcycle8 = (slowcycle16 & 0xFF) + (slowcycle16 >> 8);
194
198 }
199
200 u8 hue = slowcycle8 - salt;
202 if (bright > 0) {
206 }
207 } else {
209 }
210 return c;
211 }
u8 attackDecayWave8(u8 i)
CRGBPalette16 currentPalette
void coolLikeIncandescentFunction(CRGB &c, u8 phase)
bool coolLikeIncandescent
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
References attackDecayWave8(), fl::CRGB::Black, fl::ColorFromPalette(), coolLikeIncandescent, coolLikeIncandescentFunction(), currentPalette, hue, twinkleDensity, and twinkleSpeed.
Referenced by drawTwinkleFox().