(cx: number, cy: number, r: number)
| 381 | |
| 382 | // Creates an SVG path string for a circle. |
| 383 | function circlePath(cx: number, cy: number, r: number) { |
| 384 | return `M ${cx}, ${cy} m ${-r}, 0 a ${r}, ${r}, 0, 1, 0, ${r * 2}, 0 a ${r}, ${r}, 0, 1, 0 ${-r * 2}, 0`; |
| 385 | } |