source: node_modules/victory-vendor/lib-vendor/d3-ease/src/quad.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: 331 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.quadIn = quadIn;
7exports.quadInOut = quadInOut;
8exports.quadOut = quadOut;
9function quadIn(t) {
10 return t * t;
11}
12function quadOut(t) {
13 return t * (2 - t);
14}
15function quadInOut(t) {
16 return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
17}
Note: See TracBrowser for help on using the repository browser.