algorithmic modeling for Rhino
Hi
im trying to filter a list of colours into domains, and havent found a solution...
its basically, like the inverse of what the gradient component does: instead of inputing a collection of numbers, and them, choosing the colour depending on where they sit on the gradient, I have a collection of colours, and want to map them into the colours threshold.
any light?
Tags:
Hi all
Thanks for the help!!
I found a solution!! :
grasshopper actually converts texts of the comom names (I guess, from rhino), such as red, blue, gray....
so, I just made a list of them, and used "find similar members", then, pick that correspondent item from the list.
As I want the list to be translated, I wrote another list with the same lenght, and replaced for other items (a, b, c, d), so, I get a filtered list.
This solves my issue, but, still, I think it would be great to have a sort of inverted gradient, component, where it could be possible to select the range of colours and replace for one item.
Thanks all!
Good for you.
I really don't get what you mean by "inverted" gradient... I think you're confused!
The gradient component takes a gradient, a domain and a number and outputs a color.
Inverting this would mean... what? input a color and a gradient, and retrieve a number? which number? the param corresponding to the closest color to the one I input?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by