Description Usage Arguments Author(s) See Also Examples
This function generates a single iteration of the Sierpinski Pentagon, which replaces a pentagon with 5 smaller pentagons where each vertex contains a pentagon.
1 | sierpinski5(x)
|
x |
A 2-by-n matrix representing a set of points |
Brian Lee Yung Rowe
1 2 3 | library(lambda.tools)
x <- polygon(5)
xn <- fold(1:5, function(a,b) sierpinski5(b), x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.