Definition at line 127 of file FxWave2d.ino.
127 {
128 float perc = .15f;
129 uint8_t min_x = perc *
WIDTH;
130 uint8_t max_x = (1 - perc) *
WIDTH;
131 uint8_t min_y = perc *
HEIGHT;
132 uint8_t max_y = (1 - perc) *
HEIGHT;
133 int x = random(min_x, max_x);
134 int y = random(min_y, max_y);
137}
WaveFx waveFxLower(xyRect, CreateArgsLower())
WaveFx waveFxUpper(xyRect, CreateArgsUpper())
References HEIGHT, waveFxLower, waveFxUpper, WIDTH, x, and y.
Referenced by loop(), and processAutoTrigger().