Description Usage Arguments Value Examples
Create polygons of a given area that do not overlap
1 | create_poly_packings(areas, n_points)
|
areas |
numeric vector of areas |
n_points |
number of points to create the polygon. Three = triangle, and about 50 or more gives a convincing circle. |
tibble of x, y coords of the points, and id, identifying each polygon
1 2 | # create a bunch of triangles that do not overlap
create_poly_packings(areas = c(1:2), n_points = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.