diagonal crop

yopla's icon

hello forum

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

i've made this poor solution, but does anyone have an idea how can i have a digonal crop ?
Not just horizontal or vertical, but with another axis, with gpu slab
thanks !

Wesley Smith's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here's a solution with jit.gl.pix. The two parameters are the two points defining a line:

yopla's icon

great, thanks Wes
i'll study the jit.gl.pix, never work with it at the moment
cheers