Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/sdf
/ f
Function
f
sdf/d3.py:94–95 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
92
@sdf3
93
def
sphere(radius=1, center=ORIGIN):
94
def
f(p):
95
return
_length(p - center) - radius
96
return
f
97
98
@sdf3
Callers
1
wrapper
Function · 0.70
Calls
4
g
Function · 0.85
_length
Function · 0.70
_vec
Function · 0.70
_dot
Function · 0.70
Tested by
no test coverage detected