jit.rubix Reference

Reorder grid of rectangles

jit.rubix

Description

jit.rubix segments a matrix into a grid of rectangular cells whose cells can be reordered, flipped both horizontally and vertically, frozen, and filled with a single color value derived from a cell in the grid area (monochromatic).

Examples

Matrix Operator

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

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

cols [int]

The number of columns (default = 1)

dots [int]

Dot render flag (default = 0) When the flag is set, dot rendering is used.

prob [float]

The probability that a rectangular section will update with new data (default = 1.)

probmono [float]

The probability that a rectangular section will be monochromatic (default = 0.)

rows [int]

The number of rows (default = 1)

Common Box Attributes

Messages

colrot

Arguments

column [int]
number-of-cells [int]
Rotates the column specified by column the number of cells specified by rotate-cells .

freeze

Arguments

column [int]
row [int]
0/1 [int]
Toggles the freeze flag for the cell specified by column row . If set, the cell's contents will be frozen.

hflip

Arguments

column [int]
row [int]
0/1 [int]
Toggles the horizontal flip flag for the cell specified by column row . If set, the cell's contents will be flipped horizontally.

mono

Arguments

column [int]
row [int]
0/1 [int]
Toggles the mono flag for the cell specified by column row . If set, the cell's contents will be all the same value as the upper left most value in cell.

nomono

Arguments

column [int]
row [int]
0/1 [int]
Toggles the nomono flag for the cell specified by column row . If set, the cell's contents will not be monochromatic even if probmono has a non-zero value.

reset

Places all cells in their original position and orientation.

rowrot

Arguments

row [int]
number-of-cells [int]
Rotates the row specified by row the number of cells specified by number-of-cells .

setcell

Arguments

output-column [int]
output-row [int]
input-column [int]
input-row [int]
Maps the input cell specified by input-column input-row to the output cell specified by output-column and output-row .

vflip

Arguments

column [int]
row [int]
0/1 [int]
Toggles the vertical flip flag for the cell specified by column row . If set, the cell's contents will be flipped vertically.

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.glue
jit.resamp
jit.scissors
jit.tiffany