From 13414b845eb27e0499e3408f67014cc195aaf8e3 Mon Sep 17 00:00:00 2001 From: Annis Monadjem Date: Sat, 2 Sep 2017 00:41:09 +0200 Subject: [PATCH] Update article.md --- 3-animation/3-js-animation/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } ```