2-D planar robot arm · end-effector workspace
Forward kinematics of a two-link arm. Set the two angle inputs below and the end-effector follows — its location shown against the reachable workspace.
θ1 · base–
θ2 · elbow–
x–
y–
‖p‖–
│link 1 ║link 2 ●end-effector

Control inputs (angles)

70.0°
55.0°
θ2 is measured relative to link 1 (the arm's elbow).

Linearization · Δθ inputs

0.0°
0.0°
‖J·Δθ‖   0.000 err  —
Vectors at the end-effector: J₁ = ∂p/∂θ1, J₂ = ∂p/∂θ2, and J·Δθ = J₁·Δθ1 + J₂·Δθ2 (the linear estimate of the motion). "err" is ‖(p+JΔθ) − p_exact(θ+Δθ)‖.

Geometry

1.00
0.70

View

1.00×
Center: base (origin). Drag a point on the canvas to recenter.
Click to focus on the end-effector dot (zoom ×4).
Forward kinematics — end-effector position p as a function of the two angle inputs:
x = L1·cos θ1 + L2·cos(θ1+θ2)   y = L1·sin θ1 + L2·sin(θ1+θ2)
Reachable workspace: annulus |L1−L2| ≤ ‖p‖ ≤ L1+L2 from the base (shaded).
Self-contained single file · no external dependencies · white/monochrome. The shaded ring is the workspace; the filled dot is the end-effector; dashed lines show its (x, y) projections.