Change code to use new thread-safe lx color functions
[SugarCubes.git] / DanKaminsky.pde
index 3dd9d1407e68f419003846f5b91bdb0978971755..53646695561cd879cea81a84cbff0170dddbc5d2 100644 (file)
@@ -84,7 +84,7 @@ class ObjectMuckerEffect extends SCEffect {
       for(int i=0; i<s.points.size(); i++){
          int index = s.points.get(i).index;
          color c = colors[index];
-         colors[index] = color((i*22.5), saturation(c), brightness(c));
+         colors[index] = lx.hsb((i*22.5), saturation(c), brightness(c));
       }
     }*/
   }