Build a tree of a list, potentially keeping hold of an internal state.
1 2 3 | tree.replicate(num, ma, ...)
tree.replicateS(num, ma, s, ...)
|
num |
the length of the list in the tree |
ma |
a function which (randomly) creates new tree to add to the list |
... |
extra arguments to pass to the tree generating function |
s |
a state used when replicating to keep track of. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.