Jump to content

Recommended Posts

I would like to color a set of primitives using random analogous color pairs. (or triadic/tetradic etc)

The color sop node provides this information but only as a guide to choose from. How would i go about this?

i suppose vex is the way to go but i don't have a clue as to which functions or what method should be used.

Any tips?

 

Capture.JPG

Share this post


Link to post
Share on other sites
Posted (edited)

you can change the hue like this.

vector hsv = rgbtohsv(@Cd);
hsv.x += chf("hue_offset");
@Cd = hsvtorgb(hsv);


from the help: The hue will be in the range 0 to 1.

Edited by bunker
  • Like 2

Share this post


Link to post
Share on other sites
On 4/3/2021 at 11:12 PM, bunker said:

you can change the hue like this.


vector hsv = rgbtohsv(@Cd);
hsv.x += chf("hue_offset");
@Cd = hsvtorgb(hsv);


from the help: The hue will be in the range 0 to 1.

thanks!! i managed to do something like this in vops

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×