Use organic constant there too

This commit is contained in:
Luke Murphy 2020-02-01 09:58:59 +01:00
parent fcc8a14c4a
commit d411669242
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -236,7 +236,7 @@ class GeneratedShape {
rotAngle += 360.0 / numberOfEdges; rotAngle += 360.0 / numberOfEdges;
} }
curveTightness(-5); curveTightness(this.organicConstant);
beginShape(); beginShape();
for (let i = 0; i < numberOfEdges; i++) { for (let i = 0; i < numberOfEdges; i++) {
curveVertex(this.xs[i], this.ys[i]); curveVertex(this.xs[i], this.ys[i]);