Getting Started Example anomaly

Jim Gracely's Avatar

Jim Gracely

20 Mar, 2014 05:01 PM

Not sure if this is the correct place to post this.

In the Getting Started document (http://nodebox.net/node/documentation/tutorial/getting-started.html) immediately after adding the Colorize node, there is a change in the ellipse pattern: The Shape node is set to 4:30-60, so there should be 4 ellipses in increasing radius from 30 - 60; yet there is now a 5th ellipse with a radius of 30 prior to the cycle repeating (two radius 30 ellipses in a row.) This same anomaly is seen when the polygon is added. I get the same result when I follow the example.

Where is this 5th element of the Shape node coming from?

Thanks!

  1. Support Staff 1 Posted by lucasnijs on 21 Mar, 2014 04:46 PM

    lucasnijs's Avatar

    It is because of list matching. There are 5 colors and four ellipses, so the list matching will assign an ellipse for every color, for the fifth color there is no ellipse anymore so it will take the first one again to match the five colours. Then it will start over again until the third list (= the number of grid points) is matched. Just create four colours and you will see the difference.

  2. Support Staff 2 Posted by Frederik De Ble... on 24 Mar, 2014 04:42 PM

    Frederik De Bleser's Avatar

    The page how NodeBox works explains list matching.

  3. 3 Posted by Jim Gracely on 25 Mar, 2014 05:50 PM

    Jim Gracely's Avatar

    Thanks for the excellent responses! Node programming is new to me, and I can see it is going to take a little getting used to.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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