paper.js-offsets
paper.js-offsets copied to clipboard
Compound Path issue / subtract
Hello! Thanks for the work you did in this library.
Im trying to get this type of offset>
I made that w illustrator
my code is this>
let rrr = this.r / 20
let result = rect.exclude(nucleo)
result.strokeColor = 0
for(let i = 1;i<5;i+=0.5){
let pp = OffsetPath(result,-i*rrr,-i*rrr,1,0.01,5);
}
and i get this
I assume im doing something wrong, but maybe this is not supported by the library. I see the examples with (holes?) but i cant find the code. Any ideas? Thanks again.