Description Usage Arguments Value Examples
Motif Rotation
1 | motif_rotation(tile, theta, center = c(0, 0))
|
tile |
is sf object likes as output of motif function. |
theta |
the angle of rotation. |
center |
the center of rotation. it is 2-D vector like c(0,0). |
sf object
1 2 3 4 5 | library(ggplot2)
tile <- motif(polyLine = T, drawBox = T)
tile_30 <- motif_rotation(tile,30,center = c(0,1))
tilePlotter(tile)
tilePlotter(rbind(tile,tile_30))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.