drawing random triangles, finished line mode logic