they are arms it works by getting the acosine of the distance to the mouse pointer divided by the max length. it adds this to the angle to the mouse for the first legs, and subtracts for the second.