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


Generate Chebyshev gradients


The jit.gradient object generates a 4-plane char matrix containing a gradient curve that runs along the horizontal axis (i.e. it smoothly fades from left to right). You can select the cell values to fade between as well as Chebyshev coefficients to generate more complex curves and ripples.

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

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


Name Type g/s Description
cheby float A list of Chebyshev coefficients to generate the curve for the gradient (default = 1.)
end float The cell value for the end of the gradient (default = 1. 1. 1. 1.)
start float The cell value for the start of the gradient (default = 0. 0. 0. 0.)

Information for box attributes common to all objects


See Also

Name Description
jit.alphablend Use the alpha channel of one image to blend two images together
jit.charmap 256 point input to output map
Tutorial 12: Color Lookup Tables Tutorial 12: Color Lookup Tables