View source: R/K002_stringArt.R
makeStringArt | R Documentation |
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.
runStringArt(stringArtObject) makeStringArt( type = "segments", names, x, y, groups, lineGroups, distances, addPoints = FALSE, loop, ... )
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. |
For drawing string art.
runStringArt returns a list with x0,x1,y0,y1 co-ordinates. makeStringArt returns a component object.
Other stringArt:
makeMandalaStringArt()
,
makeShapeStringArt()
,
stringArt
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.