upsetjs export const DEG2RAD = ( 1 / 180 ) * Math . PI ; export function pointAtCircle ( cx , cy , radius , angle ) { return { x : cx + Math . cos ( angle * DEG2RAD ) * radius , y : cy + Math . sin ( angle * DEG2RAD ) * radius , } ; }