Random springing

This commit is contained in:
Luke Murphy 2020-02-12 22:44:09 +01:00
parent 45d5cad7db
commit 2fdc26122f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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.