Jitter State Comparison

Dec 29, 2012 at 9:23am

Jitter State Comparison

Hey folks!

I’ve been banging my head against the wall regarding what is probably the most basic solution to this problem, and I could use some assistance. I’m trying to compare the current state of a black and white [jit.matrix] with its previous frame, and I need the output to display gray for every pixel that has been turned off and white for every pixel turned on (since the previous iteration). I have a feeling the problem can be solved with a [t l l] object going into a [jit.expr] logical command, but I’m relatively new to Jitter and can’t figure out a solution.

If anybody’s wondering, I’m trying to store/recall data in a 64×16 jitter matrix so I can freely scroll around and have a 16×16 section display on my Monome 256. I’ve been at this for a while now, any suggestions?

Jan 9, 2013 at 3:59pm

You need to do two different operations, one for 0->1 and another for 1->0. Does somethging like this work?

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.