generateTriangleData first try