A newer version of Max is available. Click here to access the latest version of this document.

jit.fill

Fill a matrix with a list

Description

The jit.fill object fills one plane of a named matrix with the values of a list received in its left inlet. The offset and plane attributes determine the cells to be filled. Upon completion, the jit.fill object sends a bang message out its left outlet.

Arguments

None.

Messages

int Fills the cell at the current offset with an int value
float Fills the cell at the current offset with a float value
list Fills the cells beginning at the current offset with list values

Attributes

Name Type g/s Description
matrix_name symbol The name of target matrix
plane int The plane in matrix to be filled (default = 0)
offset int The dimension offset into matrix to be filled (default = all zero)

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.iter Iterate a matrix as a series of Max lists/values
jit.matrix The Jitter Matrix!
jit.spill Unroll a matrix into a list
zl Multi-purpose list processing
Tutorial 11: Lists and Matrices Tutorial 11: Lists and Matrices
Tutorial 12: Color Lookup Tables Tutorial 12: Color Lookup Tables