MCPcopy
hub / github.com/microsoft/SandDance / divergingPow

Function divergingPow

docs/app/js/sanddance-app.js:129456–129462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129454 return (0, _initJs.initInterpolator).apply(scale, arguments);
129455}
129456function divergingPow() {
129457 var scale = (0, _powJs.powish)(transformer());
129458 scale.copy = function() {
129459 return (0, _sequentialJs.copy)(scale, divergingPow()).exponent(scale.exponent());
129460 };
129461 return (0, _initJs.initInterpolator).apply(scale, arguments);
129462}
129463function divergingSqrt() {
129464 return divergingPow.apply(null, arguments).exponent(0.5);
129465}

Callers

nothing calls this directly

Calls 1

transformerFunction · 0.70

Tested by

no test coverage detected