Update article.md
This commit is contained in:
parent
42eadf9f56
commit
adfb099a84
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
For instance, if control points are `(0,0)`, `(0.5, 1)` and `(1, 0)`, the equations become:
|
||||||
|
|
||||||
- <code>x = (1−t)<sup>2</sup> * 0 + 2(1−t)t * 0.5 + t<sup>2</sup> * 1 = (1-t)t + t<sup>2</sup> = t</code>
|
- <code>x = (1−t)<sup>2</sup> * 0 + 2(1−t)t * 0.5 + t<sup>2</sup> * 1 = (1-t)t + t<sup>2</sup> = t</code>
|
||||||
- <code>y = (1−t)<sup>2</sup> * 0 + 2(1−t)t * 1 + t<sup>2</sup> * 0 = 2(1-t)t = –t<sup>2</sup> + 2t</code>
|
- <code>y = (1−t)<sup>2</sup> * 0 + 2(1−t)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.
|
Now as `t` runs from `0` to `1`, the set of values `(x,y)` for each `t` forms the curve for such control points.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue