Skip to main content

Sequence

Intro

Generate random (or non random), non-repeating number sequences.

UI

Auto Index - When checked the layer will automatically output all values within the Sequence range.

Index - Manually select an index within the Sequence range.

Sequence - Set a range of values to create a sequence within.

Offset - Add/ subtract a value to the sequence. e.g. a value of 1 will convert 0,1,2,3 to 1,2,3,4.

Travel - Use a value to offset the order of the sequence. e.g. a value of 1 will convert 0,1,2,3 to 3,0,1,2.

Randomize - When checked the values set in Sequence will be randomized.

Seed - Set the seed used for Randomize.

Skip Indices - Enter values which you want to omit from the range set within Sequence. Indices can be entered as comma or colon separated values. For example, entering 1, 5, 7:9 would omit the values 1, 5, 7, 8 and 9.

Example
  1. Create a Text Shape.
  2. Add a String Generator to the Text.
    1. Set Precision and Padding to 0.
  3. Add the Text Shape to a Duplicator.
    1. Set the Duplicator's Distribution to Linear.
    2. Set the Count to 4.
  4. Create a Color Array.
    1. Add 3 more colors to the Array and give each a different color.
    2. Connect colorArray.id > textShape.fillcolor.
  5. Create a Sequence.
    1. Set values for the Sequence of 0 and 3.
    2. Connect sequence.idstringGenerator.number.
    3. Connect sequence.idcolorArray.index.

Scrubbing Seed on the Sequence Utility will generate random values but the same value (or color) will never appear twice.

A random sequence of 0-3.