# PShape Intersections

**URL:** <https://discourse.processing.org/t/pshape-intersections/32616>\
**Category:** Libraries\
**Created:** [October 4, 2021, 9:01pm UTC](https://discourse.processing.org/t/pshape-intersections/32616 "2021-10-04T21:01:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)\
**Post date:** [October 5, 2021, 6:58am UTC](https://discourse.processing.org/t/pshape-intersections/32616/2 "2021-10-05T06:58:50Z")

</div>

This is a bit of a hack, maybe not an answer you’re looking for …

Sometimes I render ‘whole’ shapes in the Processing sketch, then apply the ‘boolean’ operation I desire in Inkscape (you might even automate this using [Inkscape’s command line mode](https://wiki.inkscape.org/wiki/Using_the_Command_Line)). So, the fill is one set of shapes, and the mask another. Additionally, you [can separate shapes into layers](https://discourse.processing.org/t/how-to-control-layers-when-exporting-an-svg/21758/6) to make the Inkscape work easier.

I’d rather expedite the process of getting results onto paper when I’m plotting, even if the sketch isn’t ‘fully-automated.’

---

_[View the full topic](https://discourse.processing.org/t/pshape-intersections/32616)._
