Aim a bookbinder’s lamp with two-bone IK

Set a target for the lamp head. The base and elbow rotate together to place the head there.

Try the motion

When to use it

Pose an arm reaching for a handle or a jointed lamp above a book by positioning its endpoint.

How the motion works

The links measure 86 and 98 drawing units. Beyond 184 units the elbow opens to 180 degrees. Each arrow key moves the target by eight units.

How to use it

iOS · Android
Tap the bench or drag the target to fold and extend the lamp. Tap Far edge to reach its limit.
PC
Drag on the bench, or tab to the drawing and move the target with the arrow keys.

Try a device version

Example files and implementation notes

Choose a device in the demo and save the motion to your collection to download the working HTML and implementation notes as a ZIP.