Recursion
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.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Frederik De Ble... on 21 Nov, 2012 06:37 PM
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.
2 Posted by yancy on 21 Nov, 2012 09:51 PM
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.
Support Staff 3 Posted by Frederik De Ble... on 26 Nov, 2012 08:52 AM
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.
Frederik De Bleser closed this discussion on 26 Nov, 2012 08:52 AM.