Browse Source

number of edges for shapes now defined based on amplitude

main
Cristina Cochior 4 years ago
parent
commit
8f43f134dd
  1. 2
      voicegardens/static/voicegardens.js

2
voicegardens/static/voicegardens.js

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

Loading…
Cancel
Save