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