MCPcopy Create free account
hub / github.com/microsoft/SandDance / exponential

Function exponential

docs/app/js/sanddance-app.js:128269–128273  ·  view source on GitHub ↗
(a, b, y)

Source from the content-addressed store, hash-verified

128267 };
128268}
128269function exponential(a, b, y) {
128270 return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
128271 return Math.pow(a + t * b, y);
128272 };
128273}
128274function hue(a, b) {
128275 var d = b - a;
128276 return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0, _constantJsDefault.default)(isNaN(a) ? b : a);

Callers 1

gammaFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected