Merge pull request #154 from Annis-Monadjem/master

replace "progress" with "timeFraction" for clarity
This commit is contained in:
Ilya Kantor 2017-09-02 16:49:14 +02:00 committed by GitHub
commit 1a2982650d

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