Conditional Color

's Avatar

marios.maraziotis

11 Jan, 2014 01:14 AM

Hi I am working on NodeBox 3 and I am in love , i just work for three days on it and it is just great.
I am trying to find how to color ellipses based on condition that if the index is below 50 then color red else color green?
Is that possible?
Thank you in advance.
Marios

  1. 1 Posted by anonymous on 13 Jan, 2014 02:35 PM

    anonymous's Avatar

    I think it can be made with less nodes, but I hope it helps.

  2. Support Staff 2 Posted by lievenmenschaer... on 14 Jan, 2014 11:41 AM

    lievenmenschaert's Avatar

    You can not refer to the index, but you can create a list of numbers matching your index. I've included an example that does that and that can be altered to complete other similar conditions.

    In this case we have an amount of ellipses (160) where the first 50 are colored red, the other set colored green.

    You could also have a look at the compare example in the examples browser under lists.

  3. lievenmenschaert closed this discussion on 14 Jan, 2014 11:41 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