Hello everyone. I am confused about how to change the colors of the spheres with a gradient like the reference image.
Seems you are coloring your spheres based on the Z elevation of the center point of each sphere. The parameter should be the full list of the spheres z without sorting. give that a go and should do the trick.
Also try to always share your gh script so its easier to go over it and find any bugs (just gotta drag the gh file on top of the text window)
Question.gh (16.4 KB)
Hi. I tried it but still not sure about the upper lower limits on gradient.
Instead of sorting your z values, find the bounds and deconstruct the domain, these become your lower and upper limit
thank you so much. Got it.