In my processing sketch (code above) the center of the circle finds the closest point on the line. I want to show the circle moving towards the point on the line. Any suggestions of how to do this or ...
Suppose you want to find the factor setting that produces responses in a certain region. For example, you have the following data with two factors and three responses: data a; input x1 x2 y1 y2 y3; ...