animation.mjs 228 B

1234567
  1. const cubic = (value) => {
  2. return value ** 3;
  3. };
  4. const easeInOutCubic = (value) => value < 0.5 ? cubic(value * 2) / 2 : 1 - cubic((1 - value) * 2) / 2;
  5. export { cubic, easeInOutCubic };
  6. //# sourceMappingURL=animation.mjs.map