Tweaking strip stuff and some anims
[SugarCubes.git] / MarkSlee.pde
index 8c42a8c0aabac6a0ce82a7952b1f2a556b133803..0adbe5589d680b8f9b5e4866067316587dd12f53 100644 (file)
@@ -452,7 +452,7 @@ class Blinders extends SCPattern {
         colors[p.index] = color(
           (hv + p.fz + p.fy*hs.getValuef()) % 360, 
           min(100, abs(p.fx - s.getValuef())/2.), 
-          max(0, 100 - mv/2. - mv * abs(i - 7.5))
+          max(0, 100 - mv/2. - mv * abs(i - (strip.metrics.length-1)/2.))
         );
         ++i;
       }