Click & drag on the 3D view to move the target
Two revolute joints (Y axis), links in the ground plane. Analytic IK for a fingertip target — the same structure as many table-top arms.
Space = play/pause · Arrow keys = step · Drag canvas = move target