Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ProgressCircle
Function · 0.70
Calls
1
strokeWidth
Function · 0.70
Tested by
no test coverage detected