MCPcopy Index your code
hub / github.com/microsoft/SandDance / angleDelta

Function angleDelta

docs/app/js/sanddance-app.js:119984–119987  ·  view source on GitHub ↗
(p, q, r, sx, sy)

Source from the content-addressed store, hash-verified

119982 return 1 / (ymax - ymin);
119983}
119984function angleDelta(p, q, r, sx, sy) {
119985 const a0 = Math.atan2(sy * (r[1] - p[1]), sx * (r[0] - p[0])), a1 = Math.atan2(sy * (q[1] - p[1]), sx * (q[0] - p[0]));
119986 return Math.abs(a0 - a1);
119987}
119988
119989},{"d3-array":"8JMcC","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"5GAYs":[function(require,module,exports) {
119990var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

sampleCurveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected