No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
3 additions and
1 deletions
-
voicegardens/static/voicegardens.js
|
|
@ -258,6 +258,9 @@ class GeneratedShape { |
|
|
|
|
|
|
|
/*function for drawing the shape on the screen*/ |
|
|
|
createShape() { |
|
|
|
let organicConstant = floor(random(-5, 5)); |
|
|
|
curveTightness(organicConstant); |
|
|
|
|
|
|
|
beginShape(); |
|
|
|
|
|
|
|
var lastItem = this.points.length - 1; |
|
|
@ -309,7 +312,6 @@ function draw() { |
|
|
|
for (var shape of shapes) { |
|
|
|
shape.move(); |
|
|
|
shape.display(); |
|
|
|
|
|
|
|
if (shape.collide(shapes) === true) { |
|
|
|
shape.sound(); |
|
|
|
} |
|
|
|