Find the quadratic and cubic Bezier curve for the given points
1 2 3
a vector of x values
a vector of y values
a vector of t values for which the curve will be computed
qbezier finds the quadratic Bezier curve for the
given three points and
cbezier finds the cubic Bezier curve
for the given four points. The curve will be computed at all values
in the vector
t and a list of x and y values returned.
a list composed of an x-vector and a y-vector
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.