Grasshopper

algorithmic modeling for Rhino

Hi all,

I am wondering if it is possible to get a list of colors to put into the Shader input of a Custom Preview component.

I have 10 branches in a tree and want each branch to be colored differently. I can put 10 different Color Picker components into "S" which works fine, but I was wondering if I could automate the process a bit more, maybe by using Color Gradient somehow.

Thanks!

Views: 2047

Replies to This Discussion

You could pass a range (between 0 and 1) through a gradient component, as you suggest. A little trickery will give you a set of random colors:

Thank you Andrew, I will try this.

I actually just found this thread:

http://www.grasshopper3d.com/forum/topics/coloring-stuff

Where I was able to come up with a solution for now.

Thanks!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service