Forums > Jitter

Replaceable, white mask

June 2, 2012 | 2:08 pm

Hello all,

First off, apologies for my lack of Jitter fluency. I’ve not ventured into it much, although more and more I’m calling upon the objects to work with some of my Max/MSP projects.

What I’m trying to do is:

1) Have a white mask cover a video input

2) Gradually reveal the video, ‘cutting’ through with lines.

3) Cover the video with white again.

I’ve got something close to what I want so far, after having a fiddle with other examples I’ve tracked down:

– Pasted Max Patch, click to expand. –

Thanks all.


June 2, 2012 | 5:17 pm

If I understand correctly what you want, you could just make a jit.lcd with a white background, draw into it with black lines, and add that to your video. All the pixels that are white (255 255 255) in your jit.lcd matrix will be white in the summed output, and all the pixels that are black (0 0 0) in the jit.lcd will not affect the video.

– Pasted Max Patch, click to expand. –

June 2, 2012 | 7:41 pm

Excellent! That’s just what I was after. Thanks for your guidance.


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