Random springing
This commit is contained in:
parent
45d5cad7db
commit
2fdc26122f
@ -211,7 +211,7 @@ class GeneratedShape {
|
||||
this.accelY = 0.0;
|
||||
|
||||
// The speed at which the shape 'springs' towards its final destination.
|
||||
this.springing = 0.0009;
|
||||
this.springing = random(0.0003, 0.0008);
|
||||
|
||||
// The speed at which the shape rocks back and forth when it is in the
|
||||
// process of coming to a halt.
|
||||
|
Loading…
Reference in New Issue
Block a user