Friendly Robot Arm

This little application shows two implementations of a multi segmented robot arm moving its endpoint towards a target.

The initially selected algorithm is called Forward And Backward Reaching Inverse Kinematics (FABRIK). It avoids more complex mathematical operations and purports to quickly converge.

The other algorithm is a classical gradient descent approach, where the function to be minimized is the distance to the target dependent on the segment angles.

Switch mode by pressing 'm'
Get new random arm by pressing 'r'
No canvas support