for (int i = 0; i < config.leds.getCount(); i++) {
double x = frame.xOf(i);
double y = frame.yOf(i);
- double v = Math.pow(Math.min(1, Math.max(0, noise.getr(0.0, 1.0, 1, x, y - (time / 7000.0), time / 3500.0))), 1.5);
- frame.setLedColor(i, getColorAt(v * y));
+ double v = Math.pow(Math.min(1, Math.max(0, noise.getr(0.0, 1.0, 1, x * 10.0, y + (time / 2500.0), time / 5000.0))), 1.5);
+ frame.setLedColor(i, getColorAt(Math.min(1, Math.max(0, (v + y) * 0.5))));
}
}