diff --git a/src/shape/shapeToPoints.js b/src/shape/shapeToPoints.js index 3cd893b..ad8d0b0 100644 --- a/src/shape/shapeToPoints.js +++ b/src/shape/shapeToPoints.js @@ -83,7 +83,7 @@ function shapeToPointsRaw(shapeData) { const { radius, segment } = shapeData.circle; const points = []; const circumference = 2 * radius * Math.PI; - const numSegments = Math.max(circumference * 2, 32); + const numSegments = Math.min(circumference * 2, 64); for (let rad = 0; rad <= segment; rad += Math.PI * 2 / numSegments) { const x = Math.sin(rad) * radius; const y = -Math.cos(rad) * radius;