rgb for jit.window

alexandros's icon

Hi all,
I've recently found (through a tutorial) that you can send the "bgcolor $1 $2 $3 $4" message to an lcd to play with the rgb and create colors.
Anyone knows how you can do that with jitter? I want to project it live, say through a 'jit.window' object.

Thanks in advance,
Alex

cap10subtext's icon

Sort of, what you are looking for is jit.lcd.

Harder to use but does what you need. The most important thing to remember is that because it's a matrix the drawing doesn't happen on screen. You send it all of the proper drawing commands and then a bang to output the matrix on each frame.

alexandros's icon

Cheers thanks,
I have to read through the help file to figure out how it works.

cap10subtext's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Yeah, that help patcher is comprehensive but it's also a pain. Here's something to get you started.

alexandros's icon

That works perfectly!
Do I have to send the 'pensize' and 'linesegment' messages? Cause all I want is just colors changing, without any figures inside. What I did was to zero the values in these two message boxes and add a $1 $2 $3 to the 'brgb' message, to play with it. But just by itself it wouldn't work.
Anyway, thanks again, you really helped me.
Alex