Index to Color
Intro
Map a gradient to each index to set the colors of Shapes within a sub-mesh (Duplicator, Text, etc).
UI
- Utility
- Advanced
Value - The point along the gradient to output (0 = far left, 1 = far right).
Gradient Mode - Select an interpolation for the Gradient. See Gradient.
Gradient - Set the color values. See Gradients.
Reverse - Reverse/invert the gradient.
Use Index Context - When checked, the Index to Color will pull Context. This can be used to control how Ids are assigned when used in combination with a sub-mesh (Duplicator, Text, SVG etc).
Example
- Create a Basic Shape.
- With the Shape selected, click the Duplicator icon in the Shelf.
- Create an Index to Color.
- Connect index.ToColor.id > basicShape.fill.color
Each duplicate will be colored sequentially along the gradient.
Example
- Create a Basic Shape.
- With the Shape selected, click the Duplicator icon in the Shelf.
- Create an Index to Color.
- Connect index.ToColor.id > basicShape.fill.color
- Uncheck Use Incoming Index under the Index to Color's Advanced tab.
- Right click on the Index to Color's Value > Add Behaviour > Random.
- Set the Random's Maximum to
1
.
Each duplicate will be given a random color along the gradient.