Forward & Inverse Kinematics

Up and down arrow keys change the number of joints.

Forward Kinematics:

Click a joint to select it. Left and right arrow keys rotate.

Inverse Kinematics:

Click and drag anywhere on the board to orient the joints.

Source code