MCPcopy Create free account
hub / github.com/breck7/scroll / hue$1

Function hue$1

external/.d3.js:3525–3528  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

3523}
3524
3525function hue$1(a, b) {
3526 var d = b - a;
3527 return d ? linear$2(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant$8(isNaN(a) ? b : a);
3528}
3529
3530function gamma$1(y) {
3531 return (y = +y) === 1 ? nogamma : function(a, b) {

Callers 1

hueFunction · 0.85

Calls 2

linear$2Function · 0.85
constant$8Function · 0.85

Tested by

no test coverage detected