diff --git a/3-animation/3-js-animation/article.md b/3-animation/3-js-animation/article.md index 0b119563..99775934 100644 --- a/3-animation/3-js-animation/article.md +++ b/3-animation/3-js-animation/article.md @@ -219,8 +219,8 @@ If we want to speed up the animation, we can use `progress` in the power `n`. For instance, a parabolic curve: ```js -function quad(progress) { - return Math.pow(progress, 2) +function quad(timeFraction) { + return Math.pow(timeFraction, 2) } ```