Description Usage Arguments Value
This constructs a "middle-ninths" Sierpinski gasket of depth n, starting from a given Raster*.
1 2 |
layer |
A Raster* object. |
box |
The bounding box to Cantor-ize. |
n |
The number of iterations. |
random |
Choose edges randomly or at (1/3,2/3)? |
A Raster* of the same form as the input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.