feathering edges

gammon's icon

Hi

i found a very helpful patch in the forum done by justin randel. The patch is creating a variable vignette from oval to circle and feathering the edges. what i´m looking for is this way of feathering but for the edges, eg. rectangular not circular. all of this is done by the jit.expr object. but this is not my level of programming. Can you help me Justin. Or can anybody else help me.
thank you.
gammon

Max Patch
Copy patch and select New From Clipboard in Max.

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

I've mucked about with the jit.expr box to come up with this, but it's not quite right:

gammon's icon

Hi Terry

Thanks a lot for your experiments. With your patch and the jit.expr helpfile i try to get further, but so far with no result. As soon as i have some i´ll post it.
In the meantime i would appreciate any help with jit.expr. or feathering edges of a video.
Is there a list explanations of all the commands for jit.expr ?

all the best
gammon

gammon's icon

Hi

I got the solution, or at least the 70ies version of what i was looking for.
But i dont know how i can copy my patch into the reply window in the right format. Can anybody help me ?

best
gammon

gammon's icon

Ok

Here it is as a attachement !

2600.jit.exprfeathering.maxpat
Max Patch
Floating Point's icon
Max Patch
Copy patch and select New From Clipboard in Max.

here's a better version, but still not quite right-- you should be able to work out how to make it work better