MCPcopy Create free account
hub / github.com/ampproject/amphtml / EASE

Function EASE

src/core/data-structures/curve.js:216–218  ·  view source on GitHub ↗

* ease * @param {NormTimeDef} xVal * @return {NormTimeDef}

(xVal)

Source from the content-addressed store, hash-verified

214 * @return {NormTimeDef}
215 */
216 EASE(xVal) {
217 return Bezier.solveYValueFromXValue(xVal, 0, 0, 0.25, 0.1, 0.25, 1.0, 1, 1);
218 },
219
220 /**
221 * ease-in: slow out, fast in

Callers

nothing calls this directly

Calls 1

solveYValueFromXValueMethod · 0.80

Tested by

no test coverage detected