generative modeling for Rhino
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
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.
thanks a lot!