Nodes ▸ Functions ▸ Colors
Random Colors
Produces a deterministic list of random RGBA colors, for coloring when there is no value array to color by.
Inputs
None.
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
likeRows | primitive(array) dataset | opt-in | Row count source: an array's first dimension, a FieldLines' line count, else a dataset's point count |
alphaAlpha | primitive(array) primitive(number) | opt-in | Per-row alpha override (a scalar, or one value per row) |
seed | primitive(number) | opt-in drives seed | Drives the Seed parameter while connected |
Outputs
primitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Rows (n)n | int | 32 | 1 to | ||
Seedseed | int | 0 | 0 to | ⇄ port | |
Alphaalpha | float | 1 | 0 to 1, step 0.05 |