Drag on canvas to move target
The is the derivative of . Inverting it gives numerical that works for any number of joints — the general-purpose method behind most robot controllers.
Drag the target near the workspace edge to see the condition number spike.