algorithmic modeling for Rhino
Well if you convert your pixel image into geometry you can test for inside/outside using point/curve inclusion. Or if you process the image so that the entire interior of the graph is one colour and the exterior is another colour, then you can use the Image Sampler.
If all you have is this image and no way to convert it, it becomes a lot more complex. You're going to have to walk in small increments from the sampling point to the edge of the image (presumably in a radial fashion) and figure out how many red pixels you encounter along the way. That's going to be slower and less reliable.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by