Skip to content

Commit aa65062

Browse files
committed
Merge branch 'master' of https://github.com/IDMNYU/p5.js-func
2 parents 2c03cd2 + 178b11c commit aa65062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ fplot(op, "color: green; font-size:9px;"); // plot
249249

250250
For all easing functions, *x* is 0 to 1. Method returns f(x). Some methods have optional arguments: *n* is order for exponential / stepping functions; *a*, *b*, *c*, and *d* are coefficients.
251251

252-
* **linear(x)** / **doubleLinear(x, a, b)** / **tripleLinear(x, a, b, c, d)** / **generalizedLinearMap(x, a, b, c, d)** / **quadraticIn(x)** / **quadraticOut(x)** / **quadraticInOut(x)** / **doubleQuadraticBezier(x, a, b, c, d)** / **doubleQuadraticSigmoid(x)** / **quadraticBezier(x, a, b)** / **quadraticBezierStaircase(x, a, n)** / **cubicIn(x)** / **cubicOut(x)** / **cubicInOut(x)** / **brycesCubic(x, n)** / **cubicBezier(x, a, b, c, d)** / **cubicBezierThrough2Points(x, a, b, c, d)** / **doubleCubicOgee(x, a, b)** / **doubleCubicOgeeSimplified(x, a, b)** / **quarticIn(x)** / **quarticOut(x)** / **quarticInOut(x)** / **generalizedQuartic(x, a, b)** / **quinticIn(x)** / **quinticOut(x)** / **quinticInOut(x)** / **sineIn(x)** / **sineOut(x)** / **sineInOut(x)** / **dampedSinusoid(x, a)** / **dampedSinusoidReverse(x, a)** / **circularIn(x)** / **circularOut(x)** / **circularInOut(x)** / **doubleCircularOgee(x, a)** / **doubleCircularSigmoid(x, a)** / **circularArcThroughAPoint(x, a, b)** / **circularFillet(x, a, b, c)** / **exponentialIn(x)** / **exponentialOut(x)** / **exponentialInOut(x)** / **exponentialEmphasis(x, a)** / **exponentialSmoothedStaircase(x, a, n)** / **elasticIn(x)** / **elasticOut(x)** / **elasticInOut(x)** / **backIn(x)** / **backOut(x)** / **backInOut(x)** / **bounceIn(x)** / **bounceOut(x)** / **bounceInOut(x)** / **doubleExponentialOgee(x, a)** / **doubleExponentialSigmoid(x, a)** / **adjustableCenterDoubleExponentialSigmoid(x, a, b)** / **doubleOddPolynomialOgee(x, a, b, n)** / **doublePolynomialSigmoid(x, n)** / **doubleEllipticOgee(x, a, b)** / **doubleEllipticSigmoid(x, a, b)** / **doubleSquircularOgee(x, a, n)** / **doubleSquircularSigmoid(x, a, n)** / **boxcar(x)** / **gompertz(x, a)** / **catmullRomInterpolate(x, a, b)** / **parabolaThroughAPoint(x, a, b)** / **hermite(x, a, b, c, d)** / **hermite2(x, a, b, c, d)** / **fastSquareRoot(x)** / **iterativeSquareRoot(x)** / **cosineApproximation(x)** / **maclaurinCosine(x)** / **raisedInvertedCosine(x)** / **generalSigmoidLogitCombo(x, a, b)** / **normalizedLogitSigmoid(x, a)** / **normalizedLogit(x, a)** / **staircase(x, n)** / **variableStaircase(x, a, n)** / **smoothStep(x)** / **smootherStep(x)** / **normalizedErf(x)** / **normalizedInverseErf(x)**
252+
* **linear(x)** / **doubleLinear(x, a, b)** / **tripleLinear(x, a, b, c, d)** / **generalizedLinearMap(x, a, b, c, d)** / **quadraticIn(x)** / **quadraticOut(x)** / **quadraticInOut(x)** / **doubleQuadraticBezier(x, a, b, c, d)** / **doubleQuadraticSigmoid(x)** / **quadraticBezier(x, a, b)** / **quadraticBezierStaircase(x, a, n)** / **cubicIn(x)** / **cubicOut(x)** / **cubicInOut(x)** / **brycesCubic(x, n)** / **cubicBezier(x, a, b, c, d)** / **cubicBezierThrough2Points(x, a, b, c, d)** / **doubleCubicOgee(x, a, b)** / **doubleCubicOgeeSimplified(x, a, b)** / **quarticIn(x)** / **quarticOut(x)** / **quarticInOut(x)** / **generalizedQuartic(x, a, b)** / **quinticIn(x)** / **quinticOut(x)** / **quinticInOut(x)** / **sineIn(x)** / **sineOut(x)** / **sineInOut(x)** / **dampedSinusoid(x, a)** / **dampedSinusoidReverse(x, a)** / **circularIn(x)** / **circularOut(x)** / **circularInOut(x)** / **doubleCircularOgee(x, a)** / **doubleCircularSigmoid(x, a)** / **circularArcThroughAPoint(x, a, b)** / **circularFillet(x, a, b, c)** / **exponentialIn(x)** / **exponentialOut(x)** / **exponentialInOut(x)** / **exponentialEmphasis(x, a)** / **exponentialSmoothedStaircase(x, a, n)** / **elasticIn(x)** / **elasticOut(x)** / **elasticInOut(x)** / **backIn(x)** / **backOut(x)** / **backInOut(x)** / **bounceIn(x)** / **bounceOut(x)** / **bounceInOut(x)** / **doubleExponentialOgee(x, a)** / **doubleExponentialSigmoid(x, a)** / **adjustableCenterDoubleExponentialSigmoid(x, a, b)** / **doubleOddPolynomialOgee(x, a, b, n)** / **doublePolynomialSigmoid(x, n)** / **doubleEllipticOgee(x, a, b)** / **doubleEllipticSigmoid(x, a, b)** / **doubleSquircularOgee(x, a, n)** / **doubleSquircularSigmoid(x, a, n)** / **boxcar(x)** / **gompertz(x, a)** / **catmullRomInterpolate(x, a, b)** / **parabolaThroughAPoint(x, a, b)** / **hermite(x, a, b, c, d)** / **hermite2(x, a, b, c, d)** / **fastSquareRoot(x)** / **iterativeSquareRoot(x)** / **cosineApproximation(x)** / **raisedInvertedCosine(x)** / **generalSigmoidLogitCombo(x, a, b)** / **normalizedLogitSigmoid(x, a)** / **normalizedLogit(x, a)** / **staircase(x, n)** / **variableStaircase(x, a, n)** / **smoothStep(x)** / **smootherStep(x)** / **cheapStep(x)** / **maclaurinCosine(x)** / **normalizedErf(x)** / **normalizedInverseErf(x)**
253253
* **listAlgos()**: lists available easing functions.
254254
* **fillArray(algo, len, args)**: evaluates an easing function on an Array of numbers where *x* is set to a normal map of the function range (0 to 1). *algo* sets the algorithm ("doubleLinear", "sineOut", etc.); *len* is the length of the Array to return; *args* are the arguments to the algorithm, if needed.
255255
* **fillFloat32Array(algo, len, args)**: evaluates an easing function on a Float32Array of numbers where *x* is set to a normal map of the function range (0 to 1). *algo* sets the algorithm ("doubleLinear", "sineOut", etc.); *len* is the length of the Float32Array to return; *args* are the arguments to the algorithm, if needed.

0 commit comments

Comments
 (0)