algorithmic modeling for Rhino
I have a project Ive been thinking about, and I'm not really sure where to start.
Essentially I want to use rhino and grasshopper to map at least series of 100 hexadecimal values to a single plane.
Think of a standard color picker with marked values.
Once I get the basic framework set up I want to add some flair with grasshopper.
Does anyone have any tips on where to start or even if this is possible from within rhino? I'm at a loss.
Thanks.
Tags:
First you have to convert the hex values into rgb values for GH to understand them as color information.
You can do this by using a vb component with the following line "a = ColorTranslator.FromHtml(x)", where x is a list of color hex values.
Then you have to decide what color information to map and how to map it. In a 2D plane the easiest way (but not the only one) is to map 2 variables, one on the x axis and another in the y axis.
In the following image I arrange the colors by hue in the x axis and brightness in the y axis:
Vicente, Thank you for this. Can you share the vb component for converting hex values to RGB? I cannot have it work for some reason. Thank you very much!
Never mind, fixed it. Thank you!
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