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

06 Feb, 2025 01:37 AM
04 Feb, 2025 06:32 AM
04 Feb, 2025 05:04 AM
30 Jan, 2025 09:31 AM
30 Jan, 2025 09:08 AM

 

30 Jan, 2025 08:40 AM
24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM
21 Jan, 2025 09:41 AM
21 Jan, 2025 09:36 AM