makeSpiral: spiral

View source: R/M005_spirals.r

makeSpiralR Documentation

spiral

Description

Creates a spiral.

Usage

makeSpiral(
  numLines = 1,
  x = 0.5,
  y = 0.5,
  maxRadius = 0.49,
  numPoints = 100,
  numTurns = 3.5,
  clockwise = FALSE,
  ...
)

Arguments

numLines

the number of lines spiralling out from the center

x, y

co-ordinates for the centre of the spiral

maxRadius

the size of the spiral

numPoints

the number of points. (CHECK per line or per spiral??)

numTurns

the number of times a line goes around the centre of the spiral.

clockwise

logical. Sets the direction or rotation. Defaults to FALSE / anti-clockwise.

...

parameters passed to makePolar

Value

Returns a component

Examples

pruneStart(1:10,4)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.