tahamajs's picture
download
raw
341 Bytes
import "../color/lab";
d3.interpolateLab = d3_interpolateLab;
function d3_interpolateLab(a, b) {
a = d3.lab(a);
b = d3.lab(b);
var al = a.l,
aa = a.a,
ab = a.b,
bl = b.l - al,
ba = b.a - aa,
bb = b.b - ab;
return function(t) {
return d3_lab_rgb(al + bl * t, aa + ba * t, ab + bb * t) + "";
};
}

Xet Storage Details

Size:
341 Bytes
·
Xet hash:
fba3417ffd279f8ec193e3f8734911571e9ec3311524cc7721665e437cebb2f0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.