From: Jack Stahl Date: Tue, 20 Aug 2013 08:35:03 +0000 (-0700) Subject: Fix Phase of Swim X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6bae5b02223df2d04106dbcd995fca803dea7c91;p=SugarCubes.git Fix Phase of Swim --- diff --git a/JackStahl.pde b/JackStahl.pde index 05fbe3d..e098b3f 100644 --- a/JackStahl.pde +++ b/JackStahl.pde @@ -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);