Files
JiboSDK/node_modules/eases/elastic-in.js
2026-03-22 03:21:45 +02:00

5 lines
127 B
JavaScript

function elasticIn(t) {
return Math.sin(13.0 * t * Math.PI/2) * Math.pow(2.0, 10.0 * (t - 1.0))
}
module.exports = elasticIn