I'm trying to get a chain physics model with segments. I'm feeling rather stupid, but how can I calculate which is the new position of each dot when the chain moves its ends?
expressed in another way and considering just three segments of the same length: which is the way for automatically calculating the different P1, P2. when an end moves?

