Bodysoulspirit's picture
Shared by on 2020.05.01 18:08

Sometimes you need just a random color or a list of random colours.
Usually you would connect a Make Random Value node to a Make HSL Color node, and for lists, a Make Random List connected to a Process List node connected to a Make HSL node. This is what these nodes allow with one node only.

This contains two .c nodes to place in you Vuo Modules folder :

1 - Make Random Hue Color : Specify the Saturation, Lightness and Opacity, and the Hue is random.

2 - Make Random Color List : Specify minimum and maximum ranges for HSL. They get clamped between 0 and 1, but you can specify a range in between, or set both minimums and maximum at the same value to use a specific value.

You can type BSS in the node gallery to search for these nodes.

Public Domain, any feedback or improvement is welcome.

+0
Interesting
+1
Helpful
+0
Unique

Download

AttachmentSize
Package icon Random Color(s).zip2.67 KB

Example

Source code

License

Other categories

Tested with

Vuo version:
OS version:

Add comment

Log in or register to post comments