Description Usage Arguments Value
transform.shape()
takes in x coordinates and y coordinates of a point, as well as the
penrose's true center. Additional parameters are used to rotate and scale the data.
1 2 3 |
xs |
numeric vector containing the x coordinates of the points of the shape to be transformed. |
ys |
numeric vector containing the y coordinates of the points of the shape to be transformed. |
core.x |
numeric x coordinate of true center of the penrose |
core.y |
numeric y coordinate of true center of the penrose |
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 |
list of numeric coordinates for the new shapes from the transform
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.