Forums > Jitter

simpel question about jit.fill …

June 20, 2011 | 10:24 pm


what is controlling which color that jit.fill is using. for example. how do I change the color in this very simple patch:

— Pasted Max Patch, click to expand. —


June 21, 2011 | 3:28 am

The 4 planes of the matrix in the jit.matrix object are alpha, red, green, blue (char data). The planes are numbered starting from 0: alpha=0, red=1, green=2, blue=3. The argument ‘3’ of the jit.fill object specifies the value of its ‘plane’ attribute. Change that and you’ll change the color.
You can read about this stuff in:
"What is a matrix?"
and "Tutorial 5: ARGB color"

— Pasted Max Patch, click to expand. —
Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter