In C/C++, OpenGL has a nice library for tesselating complex polygons into triangle strips and fans. That library is "GLUtesselator".

Is there any library with the equivalent functionality for WebGL?