No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
0 additions and
15 deletions
-
voicegardens/static/voicegardens.js
|
|
@ -139,12 +139,6 @@ class GeneratedShape { |
|
|
|
/** |
|
|
|
* Initialise the new shape. |
|
|
|
**/ |
|
|
|
this.xSpeed = 1.4; |
|
|
|
this.ySpeed = 1.6; |
|
|
|
|
|
|
|
this.xDirection = 1; |
|
|
|
this.yDirection = 1; |
|
|
|
|
|
|
|
this.synth = new p5.MonoSynth(); |
|
|
|
|
|
|
|
this.points = []; |
|
|
@ -154,15 +148,6 @@ class GeneratedShape { |
|
|
|
this.colour = this.chooseColour(); |
|
|
|
|
|
|
|
this.curveTightness = -5; |
|
|
|
|
|
|
|
this.xDelta = 0.0; |
|
|
|
this.yDelta = 0.0; |
|
|
|
|
|
|
|
this.xSpeed = 0.0; |
|
|
|
this.ySpeed = 0.0; |
|
|
|
|
|
|
|
this.springing = 0.0009; |
|
|
|
this.damping = 0.98; |
|
|
|
} |
|
|
|
|
|
|
|
collide(shapes) { |
|
|
|