Use this when you want to generate a random color within a flow, for example assigning distinct colors to a set of geometries for visual differentiation.
Random numbers generated by computers are not truly random, but rather pseudo-random. They are produced by algorithms that, while appearing random, are deterministic and predictable. This means the same algorithm will generate the same sequence of numbers if given the same starting conditions.
In random number generation, a seed is a starting number used to initialize a random number generator (RNG). It's essentially a point within a predetermined sequence of "random" numbers where the generator starts producing values.
Inputs
Name | Abbreviation | Type | Access | Description |
Seed | S | Number | Item | The seed for the random number (optional). If left blank, the node uses a seed based on the ID of the geometry the flow runs on. |
Outputs
Name | Abbreviation | Type | Access | Description |
Color | C | String | Item | The random color |
How to
Feed in a number to the seed
The result is a randomized hex value representing a color
A hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color.
