Files
JiboSDK/node_modules/eases/sine-in.js

8 lines
143 B
JavaScript
Raw Normal View History

2026-03-22 03:21:45 +02:00
function sineIn (t) {
var v = Math.cos(t * Math.PI * 0.5)
if (Math.abs(v) < 1e-14) return 1
else return 1 - v
}
module.exports = sineIn