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

jit.tiffany

Arbitrary rectangular resampling

Description

The jit.tiffany object performs an arbitrary rectangular resampling of a matrix. The xrange and yrange values represent a percentage of the total matrix size, and are used as an upward limit on facet sizes when jit.tiffany assigns them randomly. The jit.tiffany object will generate random values across the x, y or x and y (respectively) axes, limited by the xrange and yrange attributes unless you explicitly specify values using the x, y, or xy messages. Values you do not specify will be randomly generated.

Matrix Operator

matrix inputs:1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 1 1 1 1 1 char long float32 float64

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Messages

x facet-width [float]
... [literal]
Generate new values for the widths of all facets. New values can be specified by an optional float or list of floats, which represent percentages of the jit.tiffany object's display area, or they will be randomly generated within the ranges limited by the xrange attribute.
y facet-height [float]
... [literal]
Generate new values for the height of all facets. New values can be specified by an optional float or list of floats, which represent percentages of the jit.tiffany object's display area, or they will be randomly generated within the ranges limited by the yrange attribute.
xy ... [literal]
Generate new values for the heights and widths of all facets. New values can be specified by an optional float or list of floats, which represent percentages of the jit.tiffany object's display area, or they will be randomly generated within the ranges limited by the xrange and yrange attributes.

Attributes

Name Type g/s Description
bgcolor float The background color (default = 0. 0. 0. 0.)
grid int Grid border flag (default = 1) When the flag is set, a border is drawn for each facet in the grid.
xrange float The upward limit for width of a facet as a percentage of the total matrix size (default = 0.2)
xskip int The number of columns to 'skip' when rendering an output matrix (default = 0)
yrange float The upward limit for height of a facet as a percentage of the total matrix size (default = 0.2)
yskip int The number of rows to 'skip' when rendering an output matrix (default = 0)

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.resamp Resample spatially
jit.rubix Reorder grid of rectangles