kute.js/src/interpolation/numbers.js
thednp 933d61de19 Changes:
* added ESLint and updated all code base 
* updated SVGPathCommander, CubicBezier, shorter-js, minifill
* updated polyfills
* minor CSS fixes
2021-03-30 09:23:29 +00:00

7 lines
151 B
JavaScript

export default function numbers(a, b, v) { // number1, number2, progress
const A = +a;
const B = b - a;
// a = +a; b -= a;
return A + B * v;
}