Grasshopper

algorithmic modeling for Rhino

hi,

 

I am trying to sample and image and compare the result for a certain value (color) or a colour close withing a certain proximity to that.

where that condition is met, I would like to do something.

trouble is that I am obvioulsy gettig 3 (RGB) values per point. I have tried creating a unique "checksum" out of that (ie. x/y+1/z+1) so I have one number per pixel to compare to. (the +1) is in case I would devisde by 0 otherwise.

doesn't quite work yet ... any ideas

thanks,

Peter 

 

Views: 400

Attachments:

Replies to This Discussion

Hi Peter,

 

Here's how I have approached this, see attached

BTW: By using the swatch you get a colour dropper to pick the colour you want from the image sampler directly.

Attachments:

cool,

thanks a lot!

Peter

 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service