Nodes ▸ Functions ▸ Colors

Random Colors

Produces a deterministic list of random RGBA colors, for coloring when there is no value array to color by.

Random Colors

Inputs

None.

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
like
Rows
primitive(array) dataset opt-in Row count source: an array's first dimension, a FieldLines' line count, else a dataset's point count
alpha
Alpha
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

ParameterKindDefaultChoices / rangeUnitNotes
Rows (n)
n
int 32 1 to
Seed
seed
int 0 0 to ⇄ port
Alpha
alpha
float 1 0 to 1, step 0.05

Used by

Browse all templates using Random Colors