About this simulation

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

Last updated: 5 July 2026

This page models a planar 3-joint robot arm and solves inverse kinematics live as you click: every frame it runs the Jacobian transpose method, nudging joint angles θ₁, θ₂, θ₃ so the gripper's end-effector converges on your target point. Forward kinematics builds each joint's position from cumulative link rotations and a fixed link length, whilst a damping term stops the solver from blowing up near singular, fully-stretched configurations. Joint limits of ±150° are enforced every iteration, so some targets near the workspace boundary are simply unreachable.

🔬 What it shows

A 3-link arm chasing a clicked target using Jacobian transpose inverse kinematics, with live joint angles, position error and iteration count, plus a dashed circle marking the outer edge of the reachable workspace.

🎮 How to use

Click or drag anywhere to set a target. The α slider (0.05–2.0) sets the IK step size, the λ slider (0.0–1.0) sets singularity damping, and the link-length slider (60–160px) resizes all three equal links at once. Pause, Reset and Info buttons sit below.

💡 Did you know?

The Jacobian transpose method needs no matrix inversion, so it can never blow up numerically — that's why it's a favourite in real-time game and character-animation rigs, not just industrial robotics.

Frequently asked questions

What is forward kinematics in robotics?

Forward kinematics computes the end-effector's position from known joint angles. Here each joint's position is built by accumulating rotations θ₁, θ₂, θ₃ and stepping a fixed link length along each resulting direction, chaining from the base outward.

Why is inverse kinematics harder than forward kinematics?

Forward kinematics has one unique answer for any set of joint angles. Inverse kinematics works backwards from a target position, and that mapping can have many valid solutions, none at all if the point lies outside the workspace, or become unstable near singular arm poses.

How does the Jacobian transpose method move the arm?

Each frame the solver measures the error between the gripper and the target, builds a Jacobian matrix relating joint motion to end-effector motion, and nudges the joint angles by a step proportional to the Jacobian transpose times that error, repeating until the error is tiny or a per-frame iteration cap is hit.

What happens near a singularity?

When the arm is fully stretched or folded back on itself, the Jacobian loses rank and ordinary steps would demand impossibly large joint velocities. A damping term, scaled by λ, shrinks the effective step size in these poses so the arm slows down smoothly instead of jittering.

Why can't the arm always reach my click?

Two limits apply: the outer workspace boundary, a circle of radius equal to the sum of the three link lengths (clicks beyond it are clamped inward), and the ±150° joint limits, which clamp every angle after each iteration and can leave some interior points unreachable too.