operations on complex polygons
in
Programming Questions
•
2 years ago
I'd like to be able to perform filling/coloring operations on complex polygon shapes with arbitrary vertices. But if I want to do something other than basic fill or stroke, it requires pixel-by-pixel operations which is difficult when you have to calculate bounding points for complex shapes. Is it possible to specify a set of vertices and create a shape out of them? For example, can you create a new PShape/svg by specifying its vertices, then say applying a texture/shader to i?
1