Update article.md

This commit is contained in:
Ilya Kantor 2020-03-29 16:40:34 +03:00 committed by GitHub
parent 42eadf9f56
commit adfb099a84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,7 @@ Instead of <code>x<sub>1</sub>, y<sub>1</sub>, x<sub>2</sub>, y<sub>2</sub>, x<s
For instance, if control points are `(0,0)`, `(0.5, 1)` and `(1, 0)`, the equations become:
- <code>x = (1t)<sup>2</sup> * 0 + 2(1t)t * 0.5 + t<sup>2</sup> * 1 = (1-t)t + t<sup>2</sup> = t</code>
- <code>y = (1t)<sup>2</sup> * 0 + 2(1t)t * 1 + t<sup>2</sup> * 0 = 2(1-t)t = t<sup>2</sup> + 2t</code>
- <code>y = (1t)<sup>2</sup> * 0 + 2(1t)t * 1 + t<sup>2</sup> * 0 = 2(1-t)t = 2t<sup>2</sup> + 2t</code>
Now as `t` runs from `0` to `1`, the set of values `(x,y)` for each `t` forms the curve for such control points.