Boolean list

Creates a list of boolean values.


Inputs

  • list

    • The boolean list to output.
  • size

    • The size (length) of the list to output when the initialize input is set to true.
  • default

    • The default value to output when the initialize input is set to true.
  • pattern

    • Sets the list input to a pattern of boolean values as defined by the start, end, skip, and every inputs when the initialize input is set to true.
  • start

    • The index of the list input where the pattern starts.
  • end

    • The index of the list input where the pattern ends.
  • skip

    • The number of indexes to skip within a repeated section of the pattern of the list input.
  • every

    • The number of indexes within a repeated section of the pattern of the list input.
  • initialize

    • Sets the list input values as per the values of the size, default, pattern, start, end, skip, and every inputs.

Outputs

  • list

    • The boolean list as defined by the list input.

Notes

  • A custom list can be made by clicking on the <boolean list> space of the list input via the “Add Item” button.

  • When the initialize input is set to true, any values manually entered into the list input will be replaced with the default input value.

  • When the initialize input is true, manually inputted values will be overridden by the default input value.

  • The pattern input:

    • When both the initialize and pattern inputs are set to true, the default input (and therefore list input) will be replaced with the pattern set by the start, end, skip, and every inputs.
    • Changing the default input value will invert the set pattern.
    • List indexes outside of the pattern range (as set by the start and end inputs) will be set to the value according to the default input.
  • Other names for this node include: BooleanList, Mask, and Bitmask.

Examples