I am brand new to Grasshopper, just learned it. I am trying to create a gradient grid pattern where the density on one end is 40%, and 1% on the other end. This would be for a 49"x49" panel. I’d been trying using the graph mapper because it seems to give some flexibility in the way the fade is happening, but it doesn’t appear to be able to give me accurate max/min spacing.
This time around, I’m working backwards using Image Sampler to cull points on a pre-made grid. I’ve gotten it to work it regular images, but for some reason, if I put in a simple gradient, the results returned are not what I would expect - the fade goes sideways instead of up and down. I don’t quite understand how the Image Sample works and why it’s returning such different information when other images seem to work just fine. Can anyone explain?
Also, if anyone has thoughts on how to better achieve the gradient, please let me know!
Here is the file thus far:
Frit Pattern.gh (217.5 KB)
This is an image that works:
This is the image of the gradiant that I was hoping to make the points mimic, but isn’t working: