Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/d3-ease/src/math.js
T

4 lines
152 B
JavaScript
Raw Normal View History

2026-09-10 15:40:10 +08:00
// 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;
}