abstract class SamPattern extends SCPattern {
- public SamPattern(GLucose glucose) {
- super(glucose);
+ public SamPattern(LX lx) {
+ super(lx);
setEligible(false);
}
}
class JazzRainbow extends SamPattern {
- public JazzRainbow(GLucose glucose) {
- super(glucose);
+ public JazzRainbow(LX lx) {
+ super(lx);
}
float a = hv%250;
if (i%2 == 0) {
for (int b = 0; b < 70; b++) {
- colors[(i+b)%colors.length] = color(a+i%250, 100, b*a%100);
+ colors[(i+b)%colors.length] = lx.hsb(a+i%250, 100, b*a%100);
}
}
}