Marketing_Digital/Template-01/node_modules/d3-ease/src/math.js
2026-05-13 21:21:04 -03:00

4 lines
152 B
JavaScript

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