From 6bae5b02223df2d04106dbcd995fca803dea7c91 Mon Sep 17 00:00:00 2001 From: Jack Stahl Date: Tue, 20 Aug 2013 01:35:03 -0700 Subject: [PATCH] Fix Phase of Swim --- JackStahl.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1