Color coding

This modifier assigns a color to each particle based on an existing scalar particle property.

The input property values are first mapped and clamped to the [0,1] range based on the Start value and End value parameters of the modifier. The normalized property value of each particle is then mapped to a color using the selected color gradient.

The Adjust range button sets the Start value and End value parameters to the minimum and maximum values stored in the input particle property. This ensures that no clamping occurs during the color mapping. The Reverse range button swaps the Start value and End value parameters to effectively reverse the color scale.

Parameters

Property

The input particle property whose values are mapped to a color.

Color gradient

The type of color gradient to use.

Start value, end value

This interval controls the linear mapping of the input values to the [0,1] range.

Color only selected particles

This option restricts the assigment of colors to selected particles.

Keep selection

Selected particles are highlighted with a special color (red by default). Since the highlighting would mask the color assigned by this modifier, the modifier clears the current selection. You can suppress this behavior and keep the particle selection by activating this option.