UNPKG

@gamestdio/easing

Version:

Collection of easing equations for JavaScript / TypeScript

7 lines (6 loc) 224 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function elasticOut(t) { return Math.sin(-13.0 * (t + 1.0) * Math.PI / 2) * Math.pow(2.0, -10.0 * t) + 1.0; } exports.elasticOut = elasticOut;