[PD] Possible to mask a rectangle with a rectangle using GEM?

patko colet.patrice at free.fr
Fri Jun 11 18:49:55 CEST 2010


hello,
 you can put an image texture with a rectangle made of alpha pixels,
 or draw an alpha rectangle using  gridflow and then load it as a texture
with #to_pix,
 or snap two rectangles with different colors,
 and turn to alpha all pixels matching the inner rectangle.

Patrice Colet - 06 32 66 03 57 

----- "Ryan Trigg" <ryan.trigg at gmail.com> a écrit :

> I am trying to mask [rectangle] using GEM with another smaller
> [rectangle] (that controls the first rectangle's alpha value wherever
> it is placed) in order to create an adjustable rectangle outline (that
> has a border of my desired thickness). I noticed that you can choose
> [draw line( and [width $1( for a rectangle but the maximum thickness
> of the line is much too small. Does anyone have any thoughts or ideas?
> 
> 
> Or maybe there's an object like [disk] (using 4 segments) but with the
> ability to adjust the height and width just like [rectangle]
> 
> 
> 
> Cheers!
> 
> 
> Ryan 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list