DuyTa's picture
Upload folder using huggingface_hub
bc20498 verified
raw
history blame
178 Bytes
import {hue} from "./color.js";
export default function(a, b) {
var i = hue(+a, +b);
return function(t) {
var x = i(t);
return x - 360 * Math.floor(x / 360);
};
}