Definition at line 146 of file wavefx.cpp.
146 {
147
148 float perc = .15f;
149
150
151 uint8_t min_x = perc *
WIDTH;
152 uint8_t max_x = (1 - perc) *
WIDTH;
153 uint8_t min_y = perc *
HEIGHT;
154 uint8_t max_y = (1 - perc) *
HEIGHT;
155
156
157 int x = random(min_x, max_x);
158 int y = random(min_y, max_y);
159
160
161
164}
WaveFx waveFxLower(xyRect, CreateArgsLower())
WaveFx waveFxUpper(xyRect, CreateArgsUpper())
References HEIGHT, waveFxLower, waveFxUpper, WIDTH, x, and y.
Referenced by loop(), processAutoTrigger(), and wavefx_loop().