I have an equation for an arbitrary shape (circles, spirals, squares, etc) that I am trying to trace on an ipad. Assuming that the ipad records my tracing lines as a set of x,y coordinates how do I measure how well I was able to trace the lines? I understand that there might be many different measures of "wellness", but I am having trouble thinking of an algorithm that can't be exploited. For example, originally I thought to calculate the closest distance from all the points to the shape and calculating the mean of the distance for a score, however I realized that I can just place one point very close to the circle and it can give you a high score.
For example, this trace would return a better score than this trace. Is there any known algorithms in literature that deals with this?