Get smooth start and end on shape
This commit is contained in:
parent
0f107ce7a2
commit
6b64133298
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user