Getting path parameter of point on curve
Bruce Bartlett shared this question 2 years ago
Hi - I have a parametric curve
C=Curve(t, t^3, t, -5, 5)And I have a movable point A attached to the curve C.
I would like to get the parameter t as I move A along the curve with the mouse. I don't know how to do this.
If I use
PathParameter(A)then I get a parameter value between 0 and 1, i.e. not the original parameterization of the curve.
If I try to use sliders, then the point A is no longer movable along the curve with the mouse.