this is more of an educational project that goes over procedural animation.
procedural animation is when animation is done with code rather than frames, this type of animation is seen commonly in games like Rainworld, Barotrauma, Totally Accurate Battle Simulator, and many more. procedural animation can be as simple as turning a player character's head when said player looks around, to entire procedurally animated creatures/characters as seen in the games i mentioned. in this demo, each joint moves based on the previous and next joint, they move to the next joint up from the previous one, and the last one: number 5, just moves to the mouse pointer, if that was confusing or you just want to see how i made it, click "see inside".