Description Usage Arguments Value
View source: R/spiral-coords.R
Create spiral coordinates
1 | spiral_coords(xo, yo, n_points, n_turns, r0, r1, offset_angle)
|
xo |
Spiral origin x coordinate |
yo |
Spiral origin y coordinate |
n_points |
Number of points on whole spiral (equally spaced in angle) |
n_turns |
Number of turns in spital |
r0 |
Spiral inner radius |
r1 |
Spiral outer radius |
offset_angle |
Offset angle for start of spiral (in degrees) |
A tibble of x and y coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.