Closed chain simulation in threejs

I want to create a robot with a closed-chain structure like double-crank linkage and slider-crank mechanism using Three.js, but I don’t have a clear idea. I only know that I should establish a constraint relationship first. Has anyone done something similar before?
v2-2c969a21e62d70333d3c939c9586c189_b
3600713-49b76d9f543d2fb4

v2-961dc510e2e17588e10de4e6fc78b2d8_b

You may try https://github.com/gkjohnson/closed-chain-ik-js

1 Like

Thank you very much. This has been very helpful to me

1 Like