Tint or duplex color effect in Jitter

pelo's icon

Hello jitter comunity,

I am trying to realise a color mapping effect with a jitter matix where the white areas represents one color and the black areas a secont one.
In other image processing programs the effect is called tint or duplex.
I have attached an image.

Perhaps someone has a hint for me.

Thanks in advance,
pelo


Federico-AmazingMaxStuff's icon

Hi Pelo,
it's pretty straightforward, you can use the "mix" operator inside jit.gl.pix or jit.gen.
Better use jit.gl.pix because it works with textures instead of Jitter matrices, so it uses the GPU instead of the CPU.

That's a take on it:

Max Patch
Copy patch and select New From Clipboard in Max.

pelo's icon

Hello Federico,

Thank you very much for your help.
Works perfect with a matix too :-)
Did not worked a lot with jit.gen.
For this task it is perfect !

Cant use gl because it will be outputed on leds.
So here is my matrix version:

All the best,
pelo

Max Patch
Copy patch and select New From Clipboard in Max.

Federico-AmazingMaxStuff's icon