diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index 9f07fd3..6e0810a 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -174,8 +174,8 @@ class GeneratedShape { this.destX = random(canvasWidth); this.destY = random(canvasHeight); - this.centerX = centerX; - this.centerY = centerY; + this.centerX = random(windowWidth); + this.centerY = random(windowHeight); this.initialise(); }