MCPcopy Create free account
hub / github.com/anomalyco/opencode / radius

Function radius

packages/ui/src/components/progress-circle.tsx:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 const viewBoxSize = 16
16 const center = viewBoxSize / 2
17 const radius = () => center - strokeWidth() / 2
18 const circumference = createMemo(() => 2 * Math.PI * radius())
19
20 const offset = createMemo(() => {

Callers 1

ProgressCircleFunction · 0.70

Calls 1

strokeWidthFunction · 0.70

Tested by

no test coverage detected