Remove confusing variables around movement
This commit is contained in:
parent
415eab0b7b
commit
a3dbca7180
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user