Definition at line 109 of file noisepalette.cpp.
109 {
110 static uint8_t ihue = 0;
111
112 for (uint16_t i = 0; i <
width; i++) {
113 for (uint16_t j = 0; j <
height; j++) {
114
115
116
117
120
121
123 index += ihue;
124 }
125
126
127
128 if (bri > 127) {
129 bri = 255;
130 } else {
132 }
133
136 }
137 }
138
139 ihue += 1;
140}
CRGBPalette16 currentPalette
uint16_t XY(uint8_t x, uint8_t y) const
fl::scoped_array< uint8_t > noise
LIB8STATIC uint8_t dim8_raw(uint8_t x)
Adjust a scaling value for dimming.
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)
Get a color from a palette.
References ColorFromPalette(), colorLoop, currentPalette, dim8_raw(), height, leds, noise, width, and XY().