ktongue's picture
download
raw
550 Bytes
import {hcl as colorHcl} from "d3-color";
import color, {hue} from "./color.js";
function hcl(hue) {
return function(start, end) {
var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h),
c = color(start.c, end.c),
l = color(start.l, end.l),
opacity = color(start.opacity, end.opacity);
return function(t) {
start.h = h(t);
start.c = c(t);
start.l = l(t);
start.opacity = opacity(t);
return start + "";
};
}
}
export default hcl(hue);
export var hclLong = hcl(color);

Xet Storage Details

Size:
550 Bytes
·
Xet hash:
af36fa9728bcea2fda3424eb0d9b97e79bdd9f6e2ee32a16771baf8d53f79be3

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