Download node_modules/d3-interpolate/src/hue.js from NKessler/Horizon: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-interpolate/src/hue.js
- Command line
-
hf download hf://NKessler/Horizon/node_modules/d3-interpolate/src/hue.js
-
curl -L -o hue.js https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-interpolate/src/hue.js
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); | |
| }; | |
| } | |