Update article.md

This commit is contained in:
Annis Monadjem 2017-09-02 00:41:09 +02:00 committed by GitHub
parent c6271b5c58
commit 13414b845e

View file

@ -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: For instance, a parabolic curve:
```js ```js
function quad(progress) { function quad(timeFraction) {
return Math.pow(progress, 2) return Math.pow(timeFraction, 2)
} }
``` ```