Page 1 of 1

how to use boolean (union, intersection, etc) with vector object

Posted: Fri Sep 08, 2023 2:11 pm
by LastmanStanding
I know Spiderbasic use paperjs library for vector graphics.
but I can't find functions for manipulate.

Image
(image show 2 vector objects)

I want to create two vector objects (or more) and Union, Intersection, Subtract etc like this.
Image
(top-left: union, top-right: substract
buttom-left: intersection, buttom-right: xor)



can someone advice me please :D

thank you

ps1. this link for example
http://paperjs.org/examples/boolean-operations/

ps2. all image from website >> erraticgenerator.com :)