Recursion

yancy's Avatar

yancy

21 Nov, 2012 12:22 AM

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.

  1. Support Staff 1 Posted by Frederik De Ble... on 21 Nov, 2012 06:37 PM

    Frederik De Bleser's Avatar

    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. 2 Posted by yancy on 21 Nov, 2012 09:51 PM

    yancy's Avatar

    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.

  3. Support Staff 3 Posted by Frederik De Ble... on 26 Nov, 2012 08:52 AM

    Frederik De Bleser's Avatar

    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.

  4. Frederik De Bleser closed this discussion on 26 Nov, 2012 08:52 AM.

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

Recent Discussions

18 Nov, 2024 11:24 PM
18 Nov, 2024 09:01 PM
07 Nov, 2024 10:53 AM
02 Nov, 2024 11:22 AM
01 Nov, 2024 12:41 AM

 

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM
26 Sep, 2024 06:41 AM