From a3dbca7180fbbe07e8fdb0e230688daa0466214c Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 31 Jan 2020 18:43:22 +0100 Subject: [PATCH] Remove confusing variables around movement --- voicegardens/static/voicegardens.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index c9539c6..630337d 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -139,12 +139,6 @@ class GeneratedShape { /** * Initialise the new shape. **/ - this.xSpeed = 1.4; - this.ySpeed = 1.6; - - this.xDirection = 1; - this.yDirection = 1; - this.synth = new p5.MonoSynth(); this.points = []; @@ -154,15 +148,6 @@ class GeneratedShape { this.colour = this.chooseColour(); this.curveTightness = -5; - - this.xDelta = 0.0; - this.yDelta = 0.0; - - this.xSpeed = 0.0; - this.ySpeed = 0.0; - - this.springing = 0.0009; - this.damping = 0.98; } collide(shapes) {