Open tolyanor opened 5 years ago
Look into "Medial Axis Transforms", "Straight Skeletons" for more information, here's a library I've been wanting to try out for the same purposes, yet haven't had time
Might be a bit overkill, more useful for handling noisy polygon boundaries.
You could also try Lehni's work in progress code, here might be easier to leave out the 2nd offset curve expanding to another direction. https://github.com/paperjs/paper.js/issues/371#issuecomment-487443847
I have path like letter:
I have only black path (contour). Pink in the middle i must generate. Pink path must be a monolinear and not closed, so paperjs-offset is no resolve my problem.
How I can do this? Thanks!