Two-dimensional inverse kinematics library for use in scripts. Please note a small value is added to the calculations to simulate gravity, so the chain may not point precisely at the target point in some circumstances, and will have a small margin of error.