An implementation of FABRIK (Forward And Backward Inverse Kinematics) aside a little threejs library intended to provide easy three dimensional inverse kinematics for threejs and beyond. It can be used with IK chains of any length your computer can handle.
Just clone this repository to your computer and open up index.html in your browser. You'll see the example from example.js, which is shown here in the first gif: