Moderator: byronnash

Topic Author
Posts: 8
Joined: Tue Dec 14, 2010 9:13 pm

redistribute points on a mask

Thu Apr 03, 2014 2:00 am

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.



Who is online

Users browsing this forum: No registered users and 4 guests