did some magic with stolen code, and it appears to draw the triangles as we like it