Add comments for shape variables

This commit is contained in:
Luke Murphy 2020-02-07 16:41:18 +01:00
parent 0ec71fcc5e
commit be96a71750
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -170,10 +170,11 @@ class GeneratedShape {
this.deltaX = 0.0;
this.deltaY = 0.0;
// ???
// The speed at which the shape 'springs' towards its final destination.
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;
// Value that controls the tightness or looseness of the curves between the