Blame view

天文台pc/tianwentai-ui/node_modules/d3-interpolate/src/hue.js 178 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
  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);
    };
  }