How to triangulate a polyline with thickness | Hacker News Reader