You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
330 B
11 lines
330 B
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
const cubic = (value) => Math.pow(value, 3);
|
|
const easeInOutCubic = (value) => value < 0.5 ? cubic(value * 2) / 2 : 1 - cubic((1 - value) * 2) / 2;
|
|
|
|
exports.cubic = cubic;
|
|
exports.easeInOutCubic = easeInOutCubic;
|
|
//# sourceMappingURL=animation.js.map
|