USER Matrix

Displays or sets cells of a matrix. Cells values of the matrix are contained in a array row by row.

Different mouse mode are available to interact with cells.

Settings

matrix size

Size of the matrix, deducted from num of cols and num of rows.

num of cols

Number of columns of the matrix.

num of rows

Number of row of the matrix.

mouse mode

Mouse interaction mode with cells

  • toggle : mouse click toggle the cell value to 0 or cell draw val
  • fade : mouse move (up/down) shift the cell value between 0 and cell draw val
  • draw : mouse move
  • lock : the matrix is mouse locked, no mouse interaction
  • edit : the matrix is mouse locked, but last click col, last click row and last click sel event are fired
  • default : toggle

cell draw val

Precision coefficient for the mouse interaction with cells.

randomize

Sets cells to random values.

  • in fade mode : between 0 and cell draw val.
  • other mode : 0 or cell draw val.

reset

Resets all cells to the reset val value.

random coverage

Amount of randomization, from 0, no randomization to 1, all is randomized.

reset value

Reset value applies when the reset button is pressed or when the user does a [ctrl+click].

last click cell

Last cell index clicked.

last click col

Last cell column clicked.

last click row

Last cell row clicked.

cells val

Input array to populate the matrix cells.

the cells values should be in the range [0..1]

cells out

Output array containing the matrix cells values.

cursor pos

Set the cursor position.

orientation can be set in its design tab

cursor out

Array which contains values of cells at cursor output.

cells caption

Comma-text array to populate the matrix cells captions.

saved in preset

Determines if parameters of this object are saved in the preset-panel.

fade preset

Parameters of the this object can cross faded when you recall a preset in the grid.

Optional setting, does not appear on all objects.

can be randomized

When ON, this object will be randomized when using the randomize command of its patch.

can be reset

When ON, this object will be reseted to its default value when using the reset command of its patch.

See also

version 3.0.153

Edit All Pages