Browse Source

Update README.md

content-update
LEEDASILVA 4 years ago committed by GitHub
parent
commit
7617dcbc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      subjects/interpolation/README.md

2
subjects/interpolation/README.md

@ -5,7 +5,7 @@
Create a function called `interpolation` that takes an object with 5 properties
`step`, `start`, `end`, `callback` and `duration`.
This function must calculate the interpolation points, (x, y),
from the `start` position to `end` position depending on the number of `step`s.
from the `start` position to `end` position depending on the number of steps.
All the points must be calculated in the duration time.
For each interpolation point you must call `callback` function with parameter - interpolation point ([x, y]).

Loading…
Cancel
Save