1 abstract class SamPattern extends SCPattern {
2 public SamPattern(LX lx) {
8 class JazzRainbow extends SamPattern {
9 public JazzRainbow(LX lx) {
14 public void run(double deltaMs) {
15 // Access the core master hue via this method call
16 float hv = lx.getBaseHuef();
17 for (int i = 0; i < colors.length*5; i=i+27) {
20 for (int b = 0; b < 70; b++) {
21 colors[(i+b)%colors.length] = lx.hsb(a+i%250, 100, b*a%100);