New Grizzly code using LXOutput framework
[SugarCubes.git] / MarkSlee.pde
index dcf35a551e3c9fe8066066897cce8eccacefdf19..7ccf8aaea9ae8b358a02d8f6c304548cc2f008a7 100644 (file)
@@ -14,7 +14,7 @@ class Cathedrals extends SCPattern {
     addParameter(sat);
   }
  
-  protected void onActive() {
+  void onActive() {
     if (eq == null) {
       eq = new GraphicEQ(lx, 16);
       eq.slope.setValue(0.7);
@@ -684,10 +684,11 @@ class Swarm extends SCPattern {
         colors[p.index] = lx.hsb(
         (lx.getBaseHuef() + 0.3 * abs(p.x - hOffX.getValuef())) % 360, 
         constrain(80 + 40 * fV, 0, 100), 
-        constrain(100 - (30 - fV * falloff.getValuef()) * modDist(i + (s*63)%61, offset.getValuef() * strip.metrics.numPoints, strip.metrics.numPoints), 0, 100)
+        constrain(100 - 
+          (30 - fV * falloff.getValuef()) * modDist(i + (s*63)%61, offset.getValuef() * strip.metrics.numPoints, strip.metrics.numPoints), 0, 100)
           );
         ++i;
-      }
+      } 
       ++s;
     }
   }
@@ -808,7 +809,7 @@ class BassPod extends SCPattern {
     addParameter(clr);
   }
   
-  protected void onActive() {
+  void onActive() {
     if (eq == null) {
       eq = new GraphicEQ(lx, 16);
       eq.range.setValue(0.4);
@@ -860,7 +861,7 @@ class CubeEQ extends SCPattern {
     super(glucose);
   }
 
-  protected void onActive() {
+  void onActive() {
     if (eq == null) {
       eq = new GraphicEQ(lx, 16);
       addParameter(eq.level);