I want to draw the intersection of a circle and a convex polygon, that is to use the polygon to clip the circle. How can this be done in Processing?
I know that I could draw into PGraphics and use mask() to make the intersection, but drawing images is bound to be slow. So is there a better way?
1