Merge branch 'master' into jack-breathe
authorJack Stahl <jack@asana.com>
Tue, 20 Aug 2013 08:36:27 +0000 (01:36 -0700)
committerJack Stahl <jack@asana.com>
Tue, 20 Aug 2013 08:36:27 +0000 (01:36 -0700)
JackStahl.pde

index 543ab892b8ca0e44b47333a563a23cc10f908844..710ad945e0ec192e6c8ae2cbe8394360dc29aba8 100644 (file)
@@ -43,7 +43,7 @@ class Swim extends SCPattern {
       beat = (beat + 1) % 4;
     }
     prevRamp = ramp;
-    float phase = (beat+ramp) / 2.0 * 4 * PI;
+    float phase = (beat+ramp) / 2.0 * 2 * PI;
 
     float denominator = max(xAngle.getValuef() + yAngle.getValuef() + zAngle.getValuef(), 1);