Write a file of a triangulated square, each triangle with a different color