HomeRobotics & KinematicsQ-Learning Grid-Navigator

3D Robot Arm: Q-Learning Reaching Simulator

Watch a 3D two-joint robot arm learn to reach a moving target with real Q-learning over discretized joint angles: Q(s,a) += alpha*(reward + gamma*max(Q(s',a')) - Q(s,a)). A live 3D bar chart of the learned Q-table shows the policy converge episode by episode.

Robotics & Kinematics3DEasy60 FPS📱 Mobile-adapted⇄ 2D version
3d-robotics-topic-38 ↗ Open standalone

This simulator trains a two-joint robot arm to reach a target with real tabular Q-learning over discretized joint angles: shoulder and elbow each split into twelve bins form a 144-state table, four actions nudge one joint at a time, and every step applies Q(s,a) += α·(reward + γ·max(Q(s′,a′)) − Q(s,a)) based on how much closer the end-effector moved. A live 3D bar chart floating beside the arm renders the learned Q-table in real time, so you can watch the agent's confidence about each joint configuration grow as episodes accumulate. Tune the learning rate, discount factor and exploration decay to see how each reshapes convergence.

⚙ Under the hood

A two-joint robot arm learns to reach targets using Q-learning, visualized through real-time updates in a 3D bar-chart Q-table.

RoboticsQ-LearningMachine LearningSimulation

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)