Forums > Jitter

Jitter State Comparison

Dec 29 2012 | 9:23 am

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 09 2013 | 3:59 pm

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. --

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter