The animation above shows that the "addClosestParametricPoint" function
is working pretty well. I threw in the line to be a smarty-pants:
my definition of "pretty well" is those three points being in a line.
Please look at the source code of this page for more information.