UNPKG

@gamestdio/easing

Version:

Collection of easing equations for JavaScript / TypeScript

7 lines (6 loc) 181 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function sineInOut(t) { return -0.5 * (Math.cos(Math.PI * t) - 1); } exports.sineInOut = sineInOut;