Generates triangles