setup to draw triangles