I know that you can do this within a single node as per the Nodebox2 chrysanthemum example, but is it possible to perform recursion with multiple nodes? The best I can think of is creating multiple sub-networks in a loop, but I'm not sure how I would limit the amount of times that the loop is traveled.
The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.
NodeBox 3From the old forum
Recursion
-
-
NodeBox team Looping, and thus recursion, is handled implicitly in NodeBox. That means that it is hard to simulate.
That said, if you have a concrete use case I can think on how we can solve it in the application.
-
Thanks Frederik. I thought that might be the answer. I still have a lot of modules to explore in Nodebox3. So I may still find something suitable.
I was thinking mostly in terms of an L-system and how one might simulate plant growth in the new Nodebox.
-
NodeBox team Creating L-systems in NodeBox – without using code – seems difficult.
It's an interesting use case, however. We probably need to find some way to represent the L-system data so we can split the "generation" step with the "visualization" step.