@baileydw’s solution works very well.
i’ll add that for more complex/amorphous shapes, take a look here:
and here: