Easing 'easingCircularOut' typo.

This commit is contained in:
thednp 2021-03-31 08:29:41 +00:00
parent 2a309434c1
commit 0efd9a10e4
11 changed files with 21 additions and 21 deletions

View file

@ -1,5 +1,5 @@
/*!
* KUTE.js Base v2.1.1-alpha2 (http://thednp.github.io/kute.js)
* KUTE.js Base v2.1.1-alpha3 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
@ -9,7 +9,7 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
}(this, (function () { 'use strict';
var version = "2.1.1-alpha2";
var version = "2.1.1-alpha3";
var KUTE = {};
@ -120,7 +120,7 @@
easingCubicOut: function (t0) { var t = t0 - 1; return t * t * t + 1; },
easingCubicInOut: function (t) { return (t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1); },
easingCircularIn: function (t) { return -(Math.sqrt(1 - (t * t)) - 1); },
easingCircularOut: function (t0) { },
easingCircularOut: function (t0) { var t = t0 - 1; return Math.sqrt(1 - t * t); },
easingCircularInOut: function (t0) {
var t = t0 * 2;
if (t < 1) { return -0.5 * (Math.sqrt(1 - t * t) - 1); }

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*!
* KUTE.js Extra v2.1.1-alpha2 (http://thednp.github.io/kute.js)
* KUTE.js Extra v2.1.1-alpha3 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
@ -82,7 +82,7 @@
return t2;
};
var version = "2.1.1-alpha2";
var version = "2.1.1-alpha3";
var KUTE = {};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/kute.esm.js vendored
View file

@ -1,5 +1,5 @@
/*!
* KUTE.js Standard v2.1.1-alpha2 (http://thednp.github.io/kute.js)
* KUTE.js Standard v2.1.1-alpha3 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
@ -76,7 +76,7 @@ CubicBezier.prototype.solveCurveX = function solveCurveX (x) {
return t2;
};
var version = "2.1.1-alpha2";
var version = "2.1.1-alpha3";
var KUTE = {};

File diff suppressed because one or more lines are too long

4
dist/kute.js vendored
View file

@ -1,5 +1,5 @@
/*!
* KUTE.js Standard v2.1.1-alpha2 (http://thednp.github.io/kute.js)
* KUTE.js Standard v2.1.1-alpha3 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
@ -82,7 +82,7 @@
return t2;
};
var version = "2.1.1-alpha2";
var version = "2.1.1-alpha3";
var KUTE = {};

4
dist/kute.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "kute.js",
"version": "2.1.1-alpha2",
"version": "2.1.1-alpha3",
"description": "JavaScript animation engine",
"main": "dist/kute.min.js",
"module": "dist/kute.esm.js",

View file

@ -11,7 +11,7 @@ const Easing = {
easingCubicOut: (t0) => { const t = t0 - 1; return t * t * t + 1; },
easingCubicInOut: (t) => (t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1),
easingCircularIn: (t) => -(Math.sqrt(1 - (t * t)) - 1),
easingCircularOut: (t0) => { const t = t0 - 1; Math.sqrt(1 - t * t); },
easingCircularOut: (t0) => { const t = t0 - 1; return Math.sqrt(1 - t * t); },
easingCircularInOut: (t0) => {
let t = t0 * 2;
if (t < 1) return -0.5 * (Math.sqrt(1 - t * t) - 1);