This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/d3-interpolate/src/hue.js
2025-01-11 09:54:09 +03:00

10 lines
178 B
JavaScript

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);
};
}