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

29 May, 2024 05:47 AM
29 May, 2024 05:15 AM
29 May, 2024 05:12 AM
28 May, 2024 07:37 PM
25 May, 2024 11:52 AM

 

24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
14 May, 2024 01:29 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM