Apat and added acos to spherycolor, not included in color yet but working
[SugarCubes.git] / SamMorrow.pde
index 0b70698fcfb285eb36c6b2237736f1f5d05d55c7..350615dbdbb614016f99dfda9ba7b9619a54f2da 100644 (file)
@@ -18,7 +18,7 @@ class JazzRainbow extends SamPattern {
       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);
         }
       }
     }