Joint space → Cartesian space
Set the shoulder and elbow angles. The arm computes where the end effector lands by adding the two link vectors.
y = L₁ sin θ₁ + L₂ sin(θ₁ + θ₂)
ROBOTICS / KINEMATICS
A three-axis SCARA-style robot with vertical motion and pick-and-place.
DOCUMENTATION
Two revolute joints position the wrist in XY, and a prismatic tool axis sets grip height from 12–100 mm. Blocks are 24 mm cubes. Close the jaws within 8 mm horizontally and 6 mm vertically to attach a block; opening releases it under gravity.
Simplified grasp and gravity model. No motor dynamics, friction, robot/object collision checks, or block stacking.
Elbow negative
Set the shoulder and elbow angles. The arm computes where the end effector lands by adding the two link vectors.
Choose a destination. The law of cosines solves the elbow angle, then the shoulder rotates the arm toward the target. Most reachable points have two solutions.
Structure and documentation references: Robotics Toolbox for Python and Mithi’s Hexapod simulator. 3D rendering uses Three.js and OrbitControls (MIT license included). This is a separate implementation, not a port of either robotics project. Initial implementation created with Codex assistance; see the project README for scope and learning notes.