Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Milkyroad/SCiPNET
/ getCirclePoins
Function
getCirclePoins
public/src/ex_file/scripts/dna.js:70–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
};
69
70
const
getCirclePoins = a => {
71
const
angle = rad(a);
72
const
r = 130;
73
const
x = r * sin(angle);
74
const
z = r * cos(angle);
75
return
{
76
x,
77
z
78
};
79
};
80
81
const
addConnection = ({
82
pa,
Callers
1
calculateDnaPoints
Function · 0.85
Calls
1
rad
Function · 0.85
Tested by
no test coverage detected