Sequence

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

Auto Index - when checked the node 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.

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 hyphen separated values. For example, entering 1, 5, 7:9 would omit the values 1, 5, 7, 8 and 9.

Example usage:

  1. Create a Text/Type Shape.

  2. Add a String Generator to the Text.

  3. Set it to Value.

  4. Create a Sequence.

  5. Set values for Sequence of 0 and 3.

  6. Connect sequence.id > stringGenerator.number.

  7. Create a Color Array.

  8. Add and set 4 colors.

  9. Connect sequence.id > colorArray.index.

If you now scrub Seed on the Sequence Atom you will get random values but you will never get the same value (or color) appearing twice.

A random sequence of 0-3.