Handle really long recordings
This commit is contained in:
parent
1c9f1fc318
commit
83c436b656
@ -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);
|
||||||
|
|
||||||
// ???
|
// ???
|
||||||
|
Loading…
Reference in New Issue
Block a user