fade between colors?

Klaus Fleischhacker's Avatar

Klaus Fleischhacker

10 Jun, 2014 11:21 PM

Hello again,

Simple problem actually but I don't know how to figure it out. I want to a connection which fades 1 color to another color to make the connection between the elements visible or to understand it but I can't figure out how.

Thanks,
Klaus

  1. Support Staff 1 Posted by lucasnijs on 14 Jun, 2014 03:40 PM

    lucasnijs's Avatar

    Hallo Klaus,

    Is it correct that you made a special node called grouped_by? Without this .py file we can not have a look at it. Anyway, do you want to color the connections in a fading color or what?

  2. 2 Posted by Klaus Fleischha... on 14 Jun, 2014 03:57 PM

    Klaus Fleischhacker's Avatar

    Actually I used this node. http://support.nodebox.net/discussions/nodebox-2-3/258-group-by-count
    Yes, I want to fade from color to another color. A gradient more or less.

  3. Support Staff 3 Posted by lucasnijs on 14 Jun, 2014 06:50 PM

    lucasnijs's Avatar

    Something like this?

  4. 4 Posted by Klaus Fleischha... on 14 Jun, 2014 06:54 PM

    Klaus Fleischhacker's Avatar

    yes thank you.

  5. Support Staff 5 Posted by lucasnijs on 14 Jun, 2014 09:40 PM

    lucasnijs's Avatar

    Well, there is no gradient colorize node but I use a workaround: everything happens in the subnetwork. I use the link-node to draw the area between the surfaces. I lookup the top and bottom y values, then divide it in an arbitrary number of areas (I used 100) with the compound node. I create then the same amount of colours, also between the first hue and the second hue. I suppose you want the file? You probably need to do some extra work to adapt it to your problem and there might be another strategy but I think this might help already: good luck

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • 100614-daten_EISENERZ.csv 5.04 KB
  • 100614-diagram_EISENERZ_studien_group_by_content.ndbx 33.5 KB
  • Bildschirmfoto_2014-06-11_um_01.14.36.png 277 KB

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

25 May, 2024 11:52 AM
24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
16 May, 2024 01:58 AM
14 May, 2024 01:29 AM

 

13 May, 2024 12:36 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM
03 May, 2024 12:30 AM
03 May, 2024 12:09 AM