Rendering triangles on the screen