From 0f107ce7a2267b5f0d0d935179e063a9e79bc173 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 3 Feb 2020 09:03:35 +0100 Subject: [PATCH] Match old settings for random shapes --- voicegardens/static/voicegardens.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index 7c18213..39d9c68 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -165,8 +165,8 @@ class GeneratedShape { this.edges = 5; - this.radius = random(10, 180); - this.rotAngle = random(10, 140); + this.radius = random(120, 140); + this.rotAngle = radians(360 / this.edges); this.randomX = random(-77, 77); this.randomY = random(-77, 77);