fix
This commit is contained in:
parent
f18aa362b4
commit
e0599d4580
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,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 are:
|
||||
|
||||
- <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> = 1</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>
|
||||
|
||||
Now as `t` runs from `0` to `1`, the set of values `(x,y)` for each `t` forms the curve.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue