phoboslab / WebGLImageFilter

Fast image filters for Browsers with WebGL support
MIT License
332 stars 62 forks source link

[REQUEST] Supports "ploygon area" & circle area #11

Closed finscn closed 10 years ago

finscn commented 10 years ago

Example:

filter.apply(image,  [  [ v1X, v1Y] ,  [ v2X, v2Y,  [ v3X, v3Y] .... [ vnX, vnY]   ] );
filter.apply(image,  centreX, centreY, radius);

then the filter only affects the "ploygon area" and "circle area" in the image.

finscn commented 10 years ago

It's not in common use, I think