This illustrates the fact that the triangle is homeomorphic to the
square. There are many different ways to choose a homeomorphism;
the one used here has the advantage that the restriction to each
triangle is given by an affine map, so everything is controlled by
the position of the vertices.