continuous lines to triangles