Definition at line 128 of file Luminova.h.
128 {
129
130
131
134
135
137
138
139 for (
int i = 0; i <
MAXP; ++i) {
141 continue;
143
144
148 continue;
149 }
150
151
152
153 float tOver99 = (float)
t / 99.0f;
154 uint8_t n2 =
inoise8((uint16_t)(tOver99 * 4096), (uint16_t)(p.
g * 37));
155 float n2c = ((int)n2 - 128) / 255.0f;
157
158
159 float aa = p.
a * (float)p.
f;
162
163
165 }
166
169
171}
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
void fadeToBlackBy(CRGB *leds, fl::u16 num_leds, fl::u8 fadeBy)
void blur2d(CRGB *leds, fl::u8 width, fl::u8 height, fract8 blur_amount, const fl::XYMap &xymap)
Two-dimensional blur filter.
void plotSoftDot(float fx, float fy, float s)
void resetParticle(P &p, uint32_t tt)
uint8_t inoise8(uint16_t x, uint16_t y, uint16_t z)
8-Bit, fixed point implementation of Perlin's noise.
References P::a, P::alive, blur2d(), P::f, fadeToBlackBy(), FastLED, P::g, HEIGHT, inoise8(), leds, MAXP, NUM_LEDS, plotSoftDot(), ps, resetParticle(), P::s, t, WIDTH, P::x, xymap, and P::y.