beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Array_v2 Op

Ops.Array.Array_v2


Array
Namespace: Ops.Array

Op author: andro

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Array.Array_v3

Can generate 3 kinds of arrays. Number - 1,2,3,4 - Normalized - (ContinuousNumberArray)


summary (oneliner)

This op has three modes
Number - This fills the whole array with one number
1,2,3,4 - Fills array with incrementing numbers up to array length
normalize fills an array with values going from 0.0 to 1.0, 1.0 not included.
'normalize reverse' fills an array with values going from 1.0 to 0.0, 0.0 not included.

This op has replaced the old Array and ContinuousNumberArray ops



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Array length (integer /Number)

The length of the array


Mode select index (integer /Number)

Default Value (Number)

Varies depending on selected mode - see docs for more details


Outputs

Array (Array)

Array out


Array length out (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

array example

Open Example In Editor


Patches using Array_v2

Changelog


changed dropdown to switch
2019-06-21 - andro

Now has array length output port
2019-08-05 - andro