Converting image into a webnet

Touit's Avatar

Touit

12 Feb, 2014 08:34 PM

Hey guys,
I've been playing with Nodebox a bit but it was never my strongest side...
I am working on an artwork for an album and I need your help. Basically I am trying to take an image and convert it to a web net (I hope I make sense, see attached image) Is there an easy way to do that with Nodebox?

Thanks a lot!

  1. Support Staff 1 Posted by lievenmenschaer... on 19 Mar, 2014 11:21 AM

    lievenmenschaert's Avatar

    Hello,

    I'm not really sure what this webnet is but you can create a grid and connect all points on the horizontal and vertical axis. Adding a wiggle node will return a wiggled version of your 'webnet'. In this case it has a seed an thus an endless amount of different 'webnets'
    I have included a zip file with a gridnet.ndbx file so you can have a look at it. It uses only core nodes.

    Reading information from an image can not be done using only core nodes so there you will have to add extra code that reads your image based on brightness or color.
    In the zipfile is also an example on that: it reads an image, creates a grid and then creates the gridnet as in the first example.

    below is a screenshot on each of the ndbx files. If you unzip it you will have to keep all files in the same folder.

    hope this helps - regards,
    lieven

  2. 2 Posted by Roey Tsemah on 19 Mar, 2014 11:35 AM

    Roey Tsemah's Avatar

    Thank you so much for all the efforts Lieven,

    I ended up drawing it manually because I had to finish it for a deadline. I will have a look at the files though... I could probably use it on another project.

    Thanks again
    Roey

    --
    Roey

  3. Frederik De Bleser closed this discussion on 20 Mar, 2014 09:45 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

 

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