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

06 Sep, 2023 07:20 AM
05 Sep, 2023 08:40 PM
30 Aug, 2023 03:16 AM
19 Aug, 2023 03:22 AM
29 Jul, 2023 05:52 AM

 

28 Jul, 2023 10:53 PM
23 Jul, 2023 07:04 AM
14 Jul, 2023 03:05 AM
07 Jul, 2023 06:26 AM
05 Jul, 2023 11:44 PM
30 Jun, 2023 12:48 PM