Description Usage Arguments Value See Also Examples
Calculate the path of a shape given supplied vertices.
1 | path_shape(mat, cycle = TRUE, n = 30)
|
mat |
an Nx2 matrix of |
cycle |
logical value determining whether to the first and last coordinates |
n |
number of points along each edge to calculate |
Nx2 matrix of (row, column) coordinates
Other path-fitting functions:
path_arc(),
path_bezier(),
path_circle(),
path_ellipse(),
path_fill(),
path_fn(),
path_intersection(),
path_lerp(),
path_ray(),
path_rect()
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.