Handle really long recordings

This commit is contained in:
Luke Murphy 2020-02-15 11:00:16 +01:00
parent 1c9f1fc318
commit 83c436b656
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -255,6 +255,7 @@ class GeneratedShape {
// The distance between the xs and ys influencing the size of the shape. // The distance between the xs and ys influencing the size of the shape.
// The randomXs, randomYs also influence the shape size as they are added // The randomXs, randomYs also influence the shape size as they are added
// when drawing the space between xs and ys. // when drawing the space between xs and ys.
if (this.soundDuration > 10) this.soundDuration = this.soundDuration / 10;
this.radius = ceil(this.soundDuration * 40); this.radius = ceil(this.soundDuration * 40);
// ??? // ???