papsphilip Posted April 3, 2021 Share Posted April 3, 2021 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? Quote Link to comment Share on other sites More sharing options...
bunker Posted April 3, 2021 Share Posted April 3, 2021 (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 April 3, 2021 by bunker 2 Quote Link to comment Share on other sites More sharing options...
papsphilip Posted April 5, 2021 Author Share Posted April 5, 2021 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.