number of edges for shapes now defined based on amplitude

This commit is contained in:
Cristina Cochior 2020-02-07 13:51:11 +01:00
parent e9c29c777a
commit 8f43f134dd

View File

@ -213,7 +213,7 @@ class GeneratedShape {
this.randYs = [];
// Number of edges of the shape
this.edges = random(3, 10);
this.edges = amplitude + 3;
// ???
this.radius = random(120, 140);