spiral_coords: Create spiral coordinates

Description Usage Arguments Value

View source: R/spiral-coords.R

Description

Create spiral coordinates

Usage

1
spiral_coords(xo, yo, n_points, n_turns, r0, r1, offset_angle)

Arguments

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)

Value

A tibble of x and y coordinates


cj-holmes/spiraplot documentation built on Dec. 19, 2021, 4:59 p.m.