|
@ -170,10 +170,11 @@ class GeneratedShape { |
|
|
this.deltaX = 0.0; |
|
|
this.deltaX = 0.0; |
|
|
this.deltaY = 0.0; |
|
|
this.deltaY = 0.0; |
|
|
|
|
|
|
|
|
// ???
|
|
|
// The speed at which the shape 'springs' towards its final destination.
|
|
|
this.springing = 0.0009; |
|
|
this.springing = 0.0009; |
|
|
|
|
|
|
|
|
// ???
|
|
|
// The speed at which the shape rocks back and forth when it is in the
|
|
|
|
|
|
// process of coming to a halt.
|
|
|
this.damping = 0.98; |
|
|
this.damping = 0.98; |
|
|
|
|
|
|
|
|
// Value that controls the tightness or looseness of the curves between the
|
|
|
// Value that controls the tightness or looseness of the curves between the
|
|
|