Match old settings for random shapes

This commit is contained in:
Luke Murphy 2020-02-03 09:03:35 +01:00
parent d55a8fe0c2
commit 0f107ce7a2
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -165,8 +165,8 @@ class GeneratedShape {
this.edges = 5; this.edges = 5;
this.radius = random(10, 180); this.radius = random(120, 140);
this.rotAngle = random(10, 140); this.rotAngle = radians(360 / this.edges);
this.randomX = random(-77, 77); this.randomX = random(-77, 77);
this.randomY = random(-77, 77); this.randomY = random(-77, 77);