Description Usage Arguments Details Value Author(s) Examples
View source: R/bezier.R View source: R/quad.R
Calculate steps in t for drawing each Bezier curve within a Bezier spline.
1 | nSteps(n)
|
n |
The number of steps (assuming a range of t from 0 to 1). |
This function generates a function that can be used as the
stepFn
argument to grid.Bezier
.
It will simply generate n
values in the range 0 to 1,
though if range
is also provided, the number of steps
is reduced (see the examples below). A minimum of 2 steps will
be generated.
BezierGrob
produces a "BezierGrob"
object.
Paul Murrell
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.