Browse Source

Random springing

main
Luke Murphy 4 years ago
parent
commit
2fdc26122f
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      voicegardens/static/voicegardens.js

2
voicegardens/static/voicegardens.js

@ -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…
Cancel
Save