Blame view

天文台pc/tianwentai-ui/node_modules/d3-ease/src/math.js 152 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
  // tpmt is two power minus ten times t scaled to [0,1]
  export function tpmt(x) {
    return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;
  }