gui: draw claws is generalized to any number of joints