ngon_edges: Draw a regular ngon's edges with points

Description Usage Arguments

View source: R/outline_shapes.R

Description

A regular n-gon is a polygon with equal sided edges and all angles of corners are equal.

Usage

1
ngon_edges(n_points = 10000, n_edges = 4, r = 4, cx = 0, cy = 0)

Arguments

n_points

number of particles to use

n_edges

How many edges does the shape have

r

how far from the center of the shape should the edges be drawn

cx

x coordinate of origin

cy

y coordinate of origin


delabj/delabjGenArt documentation built on Jan. 25, 2022, 3:45 a.m.