makeStringArt: makeStringArt

View source: R/K002_stringArt.R

makeStringArtR Documentation

makeStringArt

Description

Functions to calculate the co-ordinates of a piece of string art from a string art object and to make a component to represent a string art object.

Usage

runStringArt(stringArtObject)

makeStringArt(
  type = "segments",
  names,
  x,
  y,
  groups,
  lineGroups,
  distances,
  addPoints = FALSE,
  loop,
  ...
)

Arguments

stringArtObject

used by runStringArt

names, x, y, groups, lineGroups, distances, addPoints=FALSE, loop

parameters used to create a stringArtObject

...

parameters passed to the component. See "details" for more information.

Details

For drawing string art.

Value

runStringArt returns a list with x0,x1,y0,y1 co-ordinates. makeStringArt returns a component object.

See Also

Other stringArt: makeMandalaStringArt(), makeShapeStringArt(), stringArt

Examples

print(1+1)

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