Split Canvas.java into TriangleArray.java