Description Usage Arguments Value See Also Examples
Repeatedly fold a line to create a space-filling curve.
1 | dragon_curve(n)
|
n |
How often the curve will be folded. Must be at least 1. |
A matrix of class "dragon_curve" with two columns for the x and y coordinates of the folds.
1 2 | d <- dragon_curve(9)
plot(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.