ktongue's picture
download
raw
450 Bytes
import {lab as colorLab} from "d3-color";
import color from "./color.js";
export default function lab(start, end) {
var l = color((start = colorLab(start)).l, (end = colorLab(end)).l),
a = color(start.a, end.a),
b = color(start.b, end.b),
opacity = color(start.opacity, end.opacity);
return function(t) {
start.l = l(t);
start.a = a(t);
start.b = b(t);
start.opacity = opacity(t);
return start + "";
};
}

Xet Storage Details

Size:
450 Bytes
·
Xet hash:
ef77884f271187832160430dda5024c512a19ea22f0a91a5ecd32d2031afd1cc

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