Friday, May 04, 2012

Polygon Triangulation

Massive thanks to the super hero Nicholas Wellcome for this awesome piece of javascript. It allows you to draw a polygon in a clockwise order and then it breaks it into separate polygons - effectively allowing concave to multiple convex polygon conversion. And the best bit? He's provided his nicely commented source code!

No comments:

Post a Comment