The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Conditional Color

2 replies Last reply

  1. 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

    Copy link
  2. 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.

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply