Showing posts with label geometry. Show all posts
Showing posts with label geometry. Show all posts

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!