Description Usage Arguments Value
penrose.draw()
recursively component of the penrose deflation starting with a shape
and other parameters
1 2 3 | penrose.draw(xs, ys, type, iter, final.iter, core.x, core.y, core.r,
kite = TRUE, dart = TRUE, core.rot = 0, core.sca = 1, cent.rot = 0,
cent.sca = 1, ticker = 0)
|
xs |
x coordinates of the shape to be deflated |
ys |
y coordinates of the shape to be deflated |
type |
either "kite" or "dart" to indicate the shape |
iter |
current iteration of the deflation process. does not need to be an integer |
final.iter |
final iteration at which to stop the deflation process |
core.x |
x coordinate of the true center of the final penrose tiling |
core.y |
y coordinate of the true center of the final penrose tiling |
kite |
boolean on whether to plot kites |
dart |
boolean on whether to plot darts |
core.rot |
numeric degrees to rotate the set of all points by, hinged on the true center |
core.sca |
numeric amount to scale the set of all points by, relative to the true center |
cent.rot |
numeric degrees to rotate the set of all points by, hinged on the center of points |
cent.sca |
numeric amount to scale the set of all points by, relative to the center of points |
ticker |
additional outside parameter for miscellaneous use |
core.x |
numeric x coordinate of true center of the penrose |
core.y |
numeric y coordinate of true center of the penrose |
null, just plots shapes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.