JIt.window with rounded endges?

Apr 6, 2012 at 10:59am

JIt.window with rounded endges?

Hello,

I am using jit.rota to rotate an image as if part of a DJ turntable emulation. My problem is that jit.window has straight sides and as far as I can see they can’t be rounded.

I haven’t really explored jitter much, does anyone know how I can rotate an image in a circular window?

Thanks

#62805
Apr 6, 2012 at 4:55pm

no, jitter window corners can not be rounded.

one solution is to have jit.lcd to create a circular shape, and use that as an alpha channel for your movie.
you can then alphablend with another matrix that is set to the same color as your patcher background color.

– Pasted Max Patch, click to expand. –
#226717
Apr 7, 2012 at 1:12pm

Thanks Robert, I’ll use that

#226718

You must be logged in to reply to this topic.