From ad9b697b0539fbdd8416e178ed00aaaff154227d Mon Sep 17 00:00:00 2001 From: Frederic Date: Tue, 12 Dec 2017 00:27:31 +0100 Subject: [PATCH] improved cycle path --- generators/movingshapes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/movingshapes.py b/generators/movingshapes.py index 35be714..0071f95 100755 --- a/generators/movingshapes.py +++ b/generators/movingshapes.py @@ -150,7 +150,7 @@ class World: def update(self, t, dt): self.pos = Point( - int(math.sin((t * math.pi/self.cycletime)*5) * self.size.x), + int(math.sin((t * math.pi/self.cycletime)*4) * self.size.x), int(math.cos((t * math.pi/self.cycletime)*5) * self.size.y) )