spiral: Spiral x-y coordinates

Description Usage Arguments Examples

View source: R/spirals.R

Description

Parametereised spiral in cartesian coordinates

Usage

1
spiral(x, y, n, res, a0, a1)

Arguments

x

Centre of whole spiral (x)

y

Centre of whole spiral (n)

n

Number of full rotations of spiral

res

Number of points to generate

a0

Radius to start of spiral

a1

Radius to end of spiral

Examples

1
2
sp <- spiral(x=0, y=0, n=5, res=500, a0=0.5, a1=3)
plot(sp$x, sp$y, type="l", asp=1)

dickie-roper/cloudr documentation built on Nov. 4, 2019, 10:31 a.m.