redistribute points on a mask

What type of scripts do you need?

Moderator: byronnash

Post Reply
Posts: 8
Joined: December 14th, 2010, 9:13 pm

hi All

I'm trying to write a script to add to and then redistribute vertices along a closed mask path (to cleanup some auto trace results). So for example I have a closed mask with say, 25 vertices (with bezier handles), some of the vertices are bunched up together and others are spaced quite apart. I now want the final path to have say, 100 vertices distributed as evenly possible along the mask path and staying as close as possible to the original curves...

Hiroyuki Sato has an excellent Illustrator script called Divide ( which I've spent the last 2 days trying to repurpose but it's just a little beyond my Javascript skills... dang it.

any pointers or code snippets very greatly appreciated.


Post Reply