This example is heavily based upon an original contribution by Jan Pavlovic,
whose graphics remain a part of this example.
