source: node_modules/victory-vendor/lib-vendor/d3-ease/src/exp.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Added visualizations

  • Property mode set to 100644
File size: 411 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.expIn = expIn;
7exports.expInOut = expInOut;
8exports.expOut = expOut;
9var _math = require("./math.js");
10function expIn(t) {
11 return (0, _math.tpmt)(1 - +t);
12}
13function expOut(t) {
14 return 1 - (0, _math.tpmt)(t);
15}
16function expInOut(t) {
17 return ((t *= 2) <= 1 ? (0, _math.tpmt)(1 - t) : 2 - (0, _math.tpmt)(t - 1)) / 2;
18}
Note: See TracBrowser for help on using the repository browser.