diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index 39d9c68..309fc96 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -262,9 +262,11 @@ class GeneratedShape { curveTightness(this.organicConstant); beginShape(); + curveVertex(this.xs[this.xs.length - 1], this.ys[this.ys.length - 1]); for (let i = 0; i < this.edges; i++) { curveVertex(this.xs[i], this.ys[i]); } + curveVertex(this.xs[0], this.ys[0]); endShape(CLOSE); }