added prototype earclipping algorithm implementation, wanna produce it in Taiwan
rewrote in js (with paper.js)
removed some redundant comments+small bugfixes