I would like to support clipping masks to extend the variety of rendered flags. While there are none in the flag spreadsheet (see #10) which use this it seemed like an interesting idea.
It also turns out to be really easy. By very hackily combining ctx.clip(); (docs) with recursive flag rendering I produced this (godawfully ugly) prototype:
I would like to support clipping masks to extend the variety of rendered flags. While there are none in the flag spreadsheet (see #10) which use this it seemed like an interesting idea.
It also turns out to be really easy. By very hackily combining
ctx.clip();
(docs) with recursive flag rendering I produced this (godawfully ugly) prototype: