Intersection, Overlapping, XOR and else in Processing.JS
in
Processing with Other Languages
•
2 years ago
Hi,
I'm working on a game and I need to do these with shpes...
join bunch of ellipses
xor with rect
So essentially i need to do a holes into a rect. Is that some how possible in processing js? In java processing I was using the Geomerative lib. I know about native JS function for that and that is using globalCompositeOperation (but it doesn't work that properly). Is there an easy way to do that in processingjs? I need to be able to do it on the fly (different x,y, size).
I'm working on a game and I need to do these with shpes...
join bunch of ellipses
xor with rect
So essentially i need to do a holes into a rect. Is that some how possible in processing js? In java processing I was using the Geomerative lib. I know about native JS function for that and that is using globalCompositeOperation (but it doesn't work that properly). Is there an easy way to do that in processingjs? I need to be able to do it on the fly (different x,y, size).
1