Robotics Concepts

Multi-Runtime Sandbox Directory

21 interactive sandboxes across 4 browser runtimes

Filter by runtime to see which labs are built as lightweight native Canvas/SVG widgets, which ones will mount as reactive marimo WASM notebooks, and where 3D or MuJoCo physics takes over.

Showing 21 of 21 interactive sandboxes

DOF Explorer

Canvas / SVG· Live
Active DOF: 2 / 2Tip: (1.32, 0.17) m · -15°

2 DOF: The tip sweeps a full 2D region, though orientation at each point is fixed.

Joint 1
30°
Joint 2
-45°

Coordinate Frames & Visual 2×2 Rotation Lab

Canvas / SVG· Live
World (0,0)xᵣyᵣTarget P

Click or drag anywhere in the room to move Target P. Switch between Room and Robot POV to see the same physical geometry from both perspectives.

0.80 m
0.50 m
35°

2×2 Rotation Matrix = Where the Axes Point

Col 1: Robot xᵣ axis
[ 0.82, 0.57 ]ᵀ
Col 2: Robot yᵣ axis
[ -0.57, 0.82 ]ᵀ
P in World
(1.90, 1.35) m
P in Robot Frame
(1.39, 0.07) m

Transform Network Graph & Tabletop Inspector

Canvas / SVG· Live
Directed TF Treeamber = T⁻¹ · blue = T
worldbaseshoulderwristcameratablemug
Chained Transform Lookup
(T_wrist→camera)⁻¹·(T_shoulder→wrist)⁻¹·(T_base→shoulder)⁻¹·(T_world→base)⁻¹·T_world→table·T_table→mug
42°
-32°
0.25 m
mug in camera frame
(1.24, -0.42) m · 23°
[  0.92  -0.39   1.24 ]
[  0.39   0.92  -0.42 ]
[  0.00   0.00   1.00 ]

Forward Kinematics & Point-of-View Frame Switcher

Canvas / SVG· Live
Interactive Sandbox · 2-Link Planar FK & Frame Switcher
XY
W(0,0)

Try switching to Tool Frame and dragging θ₁, or toggle Triangle projections to see how each link contributes L·cos and L·sin.

34°
-48°
1.10m
0.85m
End-Effector in Base FrameSE(2) Matrix
x
1.74m
y
0.41m
φ
-14°
T₀² = [  0.97   0.24   1.74 ]
      [ -0.24   0.97   0.41 ]
      [  0.00   0.00   1.00 ]

Iterative vs. Geometric Inverse Kinematics Playground

Canvas / SVG· Live
Drag target crosshair or use sliders
1.25 m
0.75 m

Ambiguous Solution Branch

Dashed links show the alternate valid configuration that reaches the exact same hand point.

θ₁
-4.1°
θ₂
80.3°
Tip Error
0.000m

End-to-End Pick-and-Place Loop & Policy Frames

Canvas / SVG· Live
Drop Zonecamera
0.18m
1. Camera Detect

Camera detects block at (1.20, -0.07) m in camera frame.

How a Learned Policy Uses These Frames

Policy observes and acts relative to the Camera/Wrist frame (1.20, -0.07) m — generalizes immediately when the table shifts.

URDF & Collision Capsule Inspector

Three.js· Live
XZ
Tree Topology
4 links / 3 joints
Collision Geoms
6 primitives
Visual Mesh
~42,800 tris
Live URDF Description Snippet2 capsules · 2 spheres · 2 boxes
<robot name="planar_manipulator">
  <link name="base_link">
    <visual><geometry><mesh filename="meshes/base.stl"/></geometry></visual>
    <collision><geometry><box size="0.18 0.18 0.12"/></geometry></collision>
  </link>
  <joint name="shoulder_pitch" type="revolute">
    <parent link="base_link"/>
    <child link="upper_arm"/>
    <origin xyz="0 0 0.12" rpy="0 0 0"/>
    <axis xyz="0 1 0"/>
    <limit lower="-2.40" upper="2.40" effort="85" velocity="3.2"/>
  </joint>
  <link name="upper_arm">
    <visual><geometry><mesh filename="meshes/upper_arm.obj"/></geometry></visual>
    <collision>
      <origin xyz="0.210 0 0" rpy="0 1.5708 0"/>
      <geometry><cylinder length="0.42" radius="0.055"/></geometry>
    </collision>
  </link>
  <joint name="elbow_pitch" type="revolute">
    <parent link="upper_arm"/>
    <child link="forearm"/>
    <origin xyz="0.42 0 0" rpy="0 0 0"/>
    <limit lower="-2.60" upper="2.60" effort="55" velocity="4.0"/>
  </joint>
  <link name="forearm">
    <collision>
      <origin xyz="0.180 0 0" rpy="0 1.5708 0"/>
      <geometry><cylinder length="0.36" radius="0.055"/></geometry>
    </collision>
  </link>
</robot>

Manipulability Ellipsoid & Force Vector Visualizer

marimo· Live
Well-Conditioned (σ_min / σ_max = 0.26)κ = 3.83
Velocity manipulability ellipseTip force F = (14, -10) N
Jacobian J(q) [m/rad]σ_max=1.60 · σ_min=0.42
-1.252
-0.777
0.755
-0.068
Holding Joint Torques (τ = Jᵀ F)N·m
τ₁ (Shoulder)-25.08 N·m
τ₂ (Elbow)-10.20 N·m

Wheeled Mobile Base Arena

Canvas / SVG· Live
ICCDashed blue: 3.0 s rollout · Green dot: Instantaneous Center of Curvature (ICC)
Constraint TypeNonholonomic (vᵧ = 0)
Body Twist (vₓ, vᵧ, ω)(0.65, 0.00, 0.71)
ICC (body frame)(0.00, 0.91) m
3.0s Final Pose(0.79, 1.39) m

Differential drive cannot slide sideways (vᵧ = 0), yet equal-and-opposite wheel speeds let it spin in place with ICC at (0, 0).

Synchronized Workspace & C-Space Obstacle Mapper

Canvas / SVG· Live
Collision: Link 1 & Link 2(θ₁, θ₂) = (38°, -60°)
C-Space Blocked: 16%
1. Physical Workspace (x, y)Tip: (1.44, 0.30) m
Obstacle
2. Configuration Space (θ₁, θ₂)Click any cell to move arm
θ₁=-172.5°, θ₂=172.5° (Free)θ₁=-157.5°, θ₂=172.5° (Free)θ₁=-142.5°, θ₂=172.5° (Free)θ₁=-127.5°, θ₂=172.5° (Free)θ₁=-112.5°, θ₂=172.5° (Free)θ₁=-97.5°, θ₂=172.5° (Free)θ₁=-82.5°, θ₂=172.5° (Free)θ₁=-67.5°, θ₂=172.5° (Free)θ₁=-52.5°, θ₂=172.5° (Free)θ₁=-37.5°, θ₂=172.5° (Free)θ₁=-22.5°, θ₂=172.5° (Free)θ₁=-7.5°, θ₂=172.5° (Free)θ₁=7.5°, θ₂=172.5° (Free)θ₁=22.5°, θ₂=172.5° (Collision)θ₁=37.5°, θ₂=172.5° (Collision)θ₁=52.5°, θ₂=172.5° (Collision)θ₁=67.5°, θ₂=172.5° (Free)θ₁=82.5°, θ₂=172.5° (Free)θ₁=97.5°, θ₂=172.5° (Free)θ₁=112.5°, θ₂=172.5° (Free)θ₁=127.5°, θ₂=172.5° (Free)θ₁=142.5°, θ₂=172.5° (Free)θ₁=157.5°, θ₂=172.5° (Free)θ₁=172.5°, θ₂=172.5° (Free)θ₁=-172.5°, θ₂=157.5° (Free)θ₁=-157.5°, θ₂=157.5° (Free)θ₁=-142.5°, θ₂=157.5° (Free)θ₁=-127.5°, θ₂=157.5° (Free)θ₁=-112.5°, θ₂=157.5° (Free)θ₁=-97.5°, θ₂=157.5° (Free)θ₁=-82.5°, θ₂=157.5° (Free)θ₁=-67.5°, θ₂=157.5° (Free)θ₁=-52.5°, θ₂=157.5° (Free)θ₁=-37.5°, θ₂=157.5° (Free)θ₁=-22.5°, θ₂=157.5° (Free)θ₁=-7.5°, θ₂=157.5° (Free)θ₁=7.5°, θ₂=157.5° (Free)θ₁=22.5°, θ₂=157.5° (Collision)θ₁=37.5°, θ₂=157.5° (Collision)θ₁=52.5°, θ₂=157.5° (Collision)θ₁=67.5°, θ₂=157.5° (Free)θ₁=82.5°, θ₂=157.5° (Free)θ₁=97.5°, θ₂=157.5° (Free)θ₁=112.5°, θ₂=157.5° (Free)θ₁=127.5°, θ₂=157.5° (Free)θ₁=142.5°, θ₂=157.5° (Free)θ₁=157.5°, θ₂=157.5° (Free)θ₁=172.5°, θ₂=157.5° (Free)θ₁=-172.5°, θ₂=142.5° (Free)θ₁=-157.5°, θ₂=142.5° (Free)θ₁=-142.5°, θ₂=142.5° (Free)θ₁=-127.5°, θ₂=142.5° (Free)θ₁=-112.5°, θ₂=142.5° (Free)θ₁=-97.5°, θ₂=142.5° (Free)θ₁=-82.5°, θ₂=142.5° (Free)θ₁=-67.5°, θ₂=142.5° (Free)θ₁=-52.5°, θ₂=142.5° (Free)θ₁=-37.5°, θ₂=142.5° (Free)θ₁=-22.5°, θ₂=142.5° (Free)θ₁=-7.5°, θ₂=142.5° (Free)θ₁=7.5°, θ₂=142.5° (Free)θ₁=22.5°, θ₂=142.5° (Collision)θ₁=37.5°, θ₂=142.5° (Collision)θ₁=52.5°, θ₂=142.5° (Collision)θ₁=67.5°, θ₂=142.5° (Free)θ₁=82.5°, θ₂=142.5° (Free)θ₁=97.5°, θ₂=142.5° (Free)θ₁=112.5°, θ₂=142.5° (Free)θ₁=127.5°, θ₂=142.5° (Free)θ₁=142.5°, θ₂=142.5° (Free)θ₁=157.5°, θ₂=142.5° (Free)θ₁=172.5°, θ₂=142.5° (Free)θ₁=-172.5°, θ₂=127.5° (Free)θ₁=-157.5°, θ₂=127.5° (Free)θ₁=-142.5°, θ₂=127.5° (Free)θ₁=-127.5°, θ₂=127.5° (Free)θ₁=-112.5°, θ₂=127.5° (Free)θ₁=-97.5°, θ₂=127.5° (Free)θ₁=-82.5°, θ₂=127.5° (Free)θ₁=-67.5°, θ₂=127.5° (Free)θ₁=-52.5°, θ₂=127.5° (Free)θ₁=-37.5°, θ₂=127.5° (Free)θ₁=-22.5°, θ₂=127.5° (Collision)θ₁=-7.5°, θ₂=127.5° (Collision)θ₁=7.5°, θ₂=127.5° (Collision)θ₁=22.5°, θ₂=127.5° (Collision)θ₁=37.5°, θ₂=127.5° (Collision)θ₁=52.5°, θ₂=127.5° (Collision)θ₁=67.5°, θ₂=127.5° (Free)θ₁=82.5°, θ₂=127.5° (Free)θ₁=97.5°, θ₂=127.5° (Free)θ₁=112.5°, θ₂=127.5° (Free)θ₁=127.5°, θ₂=127.5° (Free)θ₁=142.5°, θ₂=127.5° (Free)θ₁=157.5°, θ₂=127.5° (Free)θ₁=172.5°, θ₂=127.5° (Free)θ₁=-172.5°, θ₂=112.5° (Free)θ₁=-157.5°, θ₂=112.5° (Free)θ₁=-142.5°, θ₂=112.5° (Free)θ₁=-127.5°, θ₂=112.5° (Free)θ₁=-112.5°, θ₂=112.5° (Free)θ₁=-97.5°, θ₂=112.5° (Free)θ₁=-82.5°, θ₂=112.5° (Free)θ₁=-67.5°, θ₂=112.5° (Free)θ₁=-52.5°, θ₂=112.5° (Free)θ₁=-37.5°, θ₂=112.5° (Free)θ₁=-22.5°, θ₂=112.5° (Collision)θ₁=-7.5°, θ₂=112.5° (Collision)θ₁=7.5°, θ₂=112.5° (Collision)θ₁=22.5°, θ₂=112.5° (Collision)θ₁=37.5°, θ₂=112.5° (Collision)θ₁=52.5°, θ₂=112.5° (Collision)θ₁=67.5°, θ₂=112.5° (Free)θ₁=82.5°, θ₂=112.5° (Free)θ₁=97.5°, θ₂=112.5° (Free)θ₁=112.5°, θ₂=112.5° (Free)θ₁=127.5°, θ₂=112.5° (Free)θ₁=142.5°, θ₂=112.5° (Free)θ₁=157.5°, θ₂=112.5° (Free)θ₁=172.5°, θ₂=112.5° (Free)θ₁=-172.5°, θ₂=97.5° (Free)θ₁=-157.5°, θ₂=97.5° (Free)θ₁=-142.5°, θ₂=97.5° (Free)θ₁=-127.5°, θ₂=97.5° (Free)θ₁=-112.5°, θ₂=97.5° (Free)θ₁=-97.5°, θ₂=97.5° (Free)θ₁=-82.5°, θ₂=97.5° (Free)θ₁=-67.5°, θ₂=97.5° (Free)θ₁=-52.5°, θ₂=97.5° (Free)θ₁=-37.5°, θ₂=97.5° (Free)θ₁=-22.5°, θ₂=97.5° (Free)θ₁=-7.5°, θ₂=97.5° (Collision)θ₁=7.5°, θ₂=97.5° (Collision)θ₁=22.5°, θ₂=97.5° (Collision)θ₁=37.5°, θ₂=97.5° (Collision)θ₁=52.5°, θ₂=97.5° (Collision)θ₁=67.5°, θ₂=97.5° (Free)θ₁=82.5°, θ₂=97.5° (Free)θ₁=97.5°, θ₂=97.5° (Free)θ₁=112.5°, θ₂=97.5° (Free)θ₁=127.5°, θ₂=97.5° (Free)θ₁=142.5°, θ₂=97.5° (Free)θ₁=157.5°, θ₂=97.5° (Free)θ₁=172.5°, θ₂=97.5° (Free)θ₁=-172.5°, θ₂=82.5° (Free)θ₁=-157.5°, θ₂=82.5° (Free)θ₁=-142.5°, θ₂=82.5° (Free)θ₁=-127.5°, θ₂=82.5° (Free)θ₁=-112.5°, θ₂=82.5° (Free)θ₁=-97.5°, θ₂=82.5° (Free)θ₁=-82.5°, θ₂=82.5° (Free)θ₁=-67.5°, θ₂=82.5° (Free)θ₁=-52.5°, θ₂=82.5° (Free)θ₁=-37.5°, θ₂=82.5° (Free)θ₁=-22.5°, θ₂=82.5° (Free)θ₁=-7.5°, θ₂=82.5° (Collision)θ₁=7.5°, θ₂=82.5° (Collision)θ₁=22.5°, θ₂=82.5° (Collision)θ₁=37.5°, θ₂=82.5° (Collision)θ₁=52.5°, θ₂=82.5° (Collision)θ₁=67.5°, θ₂=82.5° (Free)θ₁=82.5°, θ₂=82.5° (Free)θ₁=97.5°, θ₂=82.5° (Free)θ₁=112.5°, θ₂=82.5° (Free)θ₁=127.5°, θ₂=82.5° (Free)θ₁=142.5°, θ₂=82.5° (Free)θ₁=157.5°, θ₂=82.5° (Free)θ₁=172.5°, θ₂=82.5° (Free)θ₁=-172.5°, θ₂=67.5° (Free)θ₁=-157.5°, θ₂=67.5° (Free)θ₁=-142.5°, θ₂=67.5° (Free)θ₁=-127.5°, θ₂=67.5° (Free)θ₁=-112.5°, θ₂=67.5° (Free)θ₁=-97.5°, θ₂=67.5° (Free)θ₁=-82.5°, θ₂=67.5° (Free)θ₁=-67.5°, θ₂=67.5° (Free)θ₁=-52.5°, θ₂=67.5° (Free)θ₁=-37.5°, θ₂=67.5° (Free)θ₁=-22.5°, θ₂=67.5° (Free)θ₁=-7.5°, θ₂=67.5° (Free)θ₁=7.5°, θ₂=67.5° (Collision)θ₁=22.5°, θ₂=67.5° (Collision)θ₁=37.5°, θ₂=67.5° (Collision)θ₁=52.5°, θ₂=67.5° (Collision)θ₁=67.5°, θ₂=67.5° (Free)θ₁=82.5°, θ₂=67.5° (Free)θ₁=97.5°, θ₂=67.5° (Free)θ₁=112.5°, θ₂=67.5° (Free)θ₁=127.5°, θ₂=67.5° (Free)θ₁=142.5°, θ₂=67.5° (Free)θ₁=157.5°, θ₂=67.5° (Free)θ₁=172.5°, θ₂=67.5° (Free)θ₁=-172.5°, θ₂=52.5° (Free)θ₁=-157.5°, θ₂=52.5° (Free)θ₁=-142.5°, θ₂=52.5° (Free)θ₁=-127.5°, θ₂=52.5° (Free)θ₁=-112.5°, θ₂=52.5° (Free)θ₁=-97.5°, θ₂=52.5° (Free)θ₁=-82.5°, θ₂=52.5° (Free)θ₁=-67.5°, θ₂=52.5° (Free)θ₁=-52.5°, θ₂=52.5° (Free)θ₁=-37.5°, θ₂=52.5° (Free)θ₁=-22.5°, θ₂=52.5° (Free)θ₁=-7.5°, θ₂=52.5° (Free)θ₁=7.5°, θ₂=52.5° (Free)θ₁=22.5°, θ₂=52.5° (Collision)θ₁=37.5°, θ₂=52.5° (Collision)θ₁=52.5°, θ₂=52.5° (Collision)θ₁=67.5°, θ₂=52.5° (Free)θ₁=82.5°, θ₂=52.5° (Free)θ₁=97.5°, θ₂=52.5° (Free)θ₁=112.5°, θ₂=52.5° (Free)θ₁=127.5°, θ₂=52.5° (Free)θ₁=142.5°, θ₂=52.5° (Free)θ₁=157.5°, θ₂=52.5° (Free)θ₁=172.5°, θ₂=52.5° (Free)θ₁=-172.5°, θ₂=37.5° (Free)θ₁=-157.5°, θ₂=37.5° (Free)θ₁=-142.5°, θ₂=37.5° (Free)θ₁=-127.5°, θ₂=37.5° (Free)θ₁=-112.5°, θ₂=37.5° (Free)θ₁=-97.5°, θ₂=37.5° (Free)θ₁=-82.5°, θ₂=37.5° (Free)θ₁=-67.5°, θ₂=37.5° (Free)θ₁=-52.5°, θ₂=37.5° (Free)θ₁=-37.5°, θ₂=37.5° (Free)θ₁=-22.5°, θ₂=37.5° (Free)θ₁=-7.5°, θ₂=37.5° (Free)θ₁=7.5°, θ₂=37.5° (Free)θ₁=22.5°, θ₂=37.5° (Collision)θ₁=37.5°, θ₂=37.5° (Collision)θ₁=52.5°, θ₂=37.5° (Collision)θ₁=67.5°, θ₂=37.5° (Free)θ₁=82.5°, θ₂=37.5° (Free)θ₁=97.5°, θ₂=37.5° (Free)θ₁=112.5°, θ₂=37.5° (Free)θ₁=127.5°, θ₂=37.5° (Free)θ₁=142.5°, θ₂=37.5° (Free)θ₁=157.5°, θ₂=37.5° (Free)θ₁=172.5°, θ₂=37.5° (Free)θ₁=-172.5°, θ₂=22.5° (Free)θ₁=-157.5°, θ₂=22.5° (Free)θ₁=-142.5°, θ₂=22.5° (Free)θ₁=-127.5°, θ₂=22.5° (Free)θ₁=-112.5°, θ₂=22.5° (Free)θ₁=-97.5°, θ₂=22.5° (Free)θ₁=-82.5°, θ₂=22.5° (Free)θ₁=-67.5°, θ₂=22.5° (Free)θ₁=-52.5°, θ₂=22.5° (Free)θ₁=-37.5°, θ₂=22.5° (Free)θ₁=-22.5°, θ₂=22.5° (Free)θ₁=-7.5°, θ₂=22.5° (Free)θ₁=7.5°, θ₂=22.5° (Free)θ₁=22.5°, θ₂=22.5° (Collision)θ₁=37.5°, θ₂=22.5° (Collision)θ₁=52.5°, θ₂=22.5° (Collision)θ₁=67.5°, θ₂=22.5° (Free)θ₁=82.5°, θ₂=22.5° (Free)θ₁=97.5°, θ₂=22.5° (Free)θ₁=112.5°, θ₂=22.5° (Free)θ₁=127.5°, θ₂=22.5° (Free)θ₁=142.5°, θ₂=22.5° (Free)θ₁=157.5°, θ₂=22.5° (Free)θ₁=172.5°, θ₂=22.5° (Free)θ₁=-172.5°, θ₂=7.5° (Free)θ₁=-157.5°, θ₂=7.5° (Free)θ₁=-142.5°, θ₂=7.5° (Free)θ₁=-127.5°, θ₂=7.5° (Free)θ₁=-112.5°, θ₂=7.5° (Free)θ₁=-97.5°, θ₂=7.5° (Free)θ₁=-82.5°, θ₂=7.5° (Free)θ₁=-67.5°, θ₂=7.5° (Free)θ₁=-52.5°, θ₂=7.5° (Free)θ₁=-37.5°, θ₂=7.5° (Free)θ₁=-22.5°, θ₂=7.5° (Free)θ₁=-7.5°, θ₂=7.5° (Free)θ₁=7.5°, θ₂=7.5° (Free)θ₁=22.5°, θ₂=7.5° (Collision)θ₁=37.5°, θ₂=7.5° (Collision)θ₁=52.5°, θ₂=7.5° (Collision)θ₁=67.5°, θ₂=7.5° (Free)θ₁=82.5°, θ₂=7.5° (Free)θ₁=97.5°, θ₂=7.5° (Free)θ₁=112.5°, θ₂=7.5° (Free)θ₁=127.5°, θ₂=7.5° (Free)θ₁=142.5°, θ₂=7.5° (Free)θ₁=157.5°, θ₂=7.5° (Free)θ₁=172.5°, θ₂=7.5° (Free)θ₁=-172.5°, θ₂=-7.5° (Free)θ₁=-157.5°, θ₂=-7.5° (Free)θ₁=-142.5°, θ₂=-7.5° (Free)θ₁=-127.5°, θ₂=-7.5° (Free)θ₁=-112.5°, θ₂=-7.5° (Free)θ₁=-97.5°, θ₂=-7.5° (Free)θ₁=-82.5°, θ₂=-7.5° (Free)θ₁=-67.5°, θ₂=-7.5° (Free)θ₁=-52.5°, θ₂=-7.5° (Free)θ₁=-37.5°, θ₂=-7.5° (Free)θ₁=-22.5°, θ₂=-7.5° (Free)θ₁=-7.5°, θ₂=-7.5° (Free)θ₁=7.5°, θ₂=-7.5° (Free)θ₁=22.5°, θ₂=-7.5° (Collision)θ₁=37.5°, θ₂=-7.5° (Collision)θ₁=52.5°, θ₂=-7.5° (Collision)θ₁=67.5°, θ₂=-7.5° (Free)θ₁=82.5°, θ₂=-7.5° (Free)θ₁=97.5°, θ₂=-7.5° (Free)θ₁=112.5°, θ₂=-7.5° (Free)θ₁=127.5°, θ₂=-7.5° (Free)θ₁=142.5°, θ₂=-7.5° (Free)θ₁=157.5°, θ₂=-7.5° (Free)θ₁=172.5°, θ₂=-7.5° (Free)θ₁=-172.5°, θ₂=-22.5° (Free)θ₁=-157.5°, θ₂=-22.5° (Free)θ₁=-142.5°, θ₂=-22.5° (Free)θ₁=-127.5°, θ₂=-22.5° (Free)θ₁=-112.5°, θ₂=-22.5° (Free)θ₁=-97.5°, θ₂=-22.5° (Free)θ₁=-82.5°, θ₂=-22.5° (Free)θ₁=-67.5°, θ₂=-22.5° (Free)θ₁=-52.5°, θ₂=-22.5° (Free)θ₁=-37.5°, θ₂=-22.5° (Free)θ₁=-22.5°, θ₂=-22.5° (Free)θ₁=-7.5°, θ₂=-22.5° (Free)θ₁=7.5°, θ₂=-22.5° (Free)θ₁=22.5°, θ₂=-22.5° (Collision)θ₁=37.5°, θ₂=-22.5° (Collision)θ₁=52.5°, θ₂=-22.5° (Collision)θ₁=67.5°, θ₂=-22.5° (Free)θ₁=82.5°, θ₂=-22.5° (Free)θ₁=97.5°, θ₂=-22.5° (Free)θ₁=112.5°, θ₂=-22.5° (Free)θ₁=127.5°, θ₂=-22.5° (Free)θ₁=142.5°, θ₂=-22.5° (Free)θ₁=157.5°, θ₂=-22.5° (Free)θ₁=172.5°, θ₂=-22.5° (Free)θ₁=-172.5°, θ₂=-37.5° (Free)θ₁=-157.5°, θ₂=-37.5° (Free)θ₁=-142.5°, θ₂=-37.5° (Free)θ₁=-127.5°, θ₂=-37.5° (Free)θ₁=-112.5°, θ₂=-37.5° (Free)θ₁=-97.5°, θ₂=-37.5° (Free)θ₁=-82.5°, θ₂=-37.5° (Free)θ₁=-67.5°, θ₂=-37.5° (Free)θ₁=-52.5°, θ₂=-37.5° (Free)θ₁=-37.5°, θ₂=-37.5° (Free)θ₁=-22.5°, θ₂=-37.5° (Free)θ₁=-7.5°, θ₂=-37.5° (Free)θ₁=7.5°, θ₂=-37.5° (Free)θ₁=22.5°, θ₂=-37.5° (Collision)θ₁=37.5°, θ₂=-37.5° (Collision)θ₁=52.5°, θ₂=-37.5° (Collision)θ₁=67.5°, θ₂=-37.5° (Free)θ₁=82.5°, θ₂=-37.5° (Free)θ₁=97.5°, θ₂=-37.5° (Free)θ₁=112.5°, θ₂=-37.5° (Free)θ₁=127.5°, θ₂=-37.5° (Free)θ₁=142.5°, θ₂=-37.5° (Free)θ₁=157.5°, θ₂=-37.5° (Free)θ₁=172.5°, θ₂=-37.5° (Free)θ₁=-172.5°, θ₂=-52.5° (Free)θ₁=-157.5°, θ₂=-52.5° (Free)θ₁=-142.5°, θ₂=-52.5° (Free)θ₁=-127.5°, θ₂=-52.5° (Free)θ₁=-112.5°, θ₂=-52.5° (Free)θ₁=-97.5°, θ₂=-52.5° (Free)θ₁=-82.5°, θ₂=-52.5° (Free)θ₁=-67.5°, θ₂=-52.5° (Free)θ₁=-52.5°, θ₂=-52.5° (Free)θ₁=-37.5°, θ₂=-52.5° (Free)θ₁=-22.5°, θ₂=-52.5° (Free)θ₁=-7.5°, θ₂=-52.5° (Free)θ₁=7.5°, θ₂=-52.5° (Free)θ₁=22.5°, θ₂=-52.5° (Collision)θ₁=37.5°, θ₂=-52.5° (Collision)θ₁=52.5°, θ₂=-52.5° (Collision)θ₁=67.5°, θ₂=-52.5° (Free)θ₁=82.5°, θ₂=-52.5° (Free)θ₁=97.5°, θ₂=-52.5° (Free)θ₁=112.5°, θ₂=-52.5° (Free)θ₁=127.5°, θ₂=-52.5° (Free)θ₁=142.5°, θ₂=-52.5° (Free)θ₁=157.5°, θ₂=-52.5° (Free)θ₁=172.5°, θ₂=-52.5° (Free)θ₁=-172.5°, θ₂=-67.5° (Free)θ₁=-157.5°, θ₂=-67.5° (Free)θ₁=-142.5°, θ₂=-67.5° (Free)θ₁=-127.5°, θ₂=-67.5° (Free)θ₁=-112.5°, θ₂=-67.5° (Free)θ₁=-97.5°, θ₂=-67.5° (Free)θ₁=-82.5°, θ₂=-67.5° (Free)θ₁=-67.5°, θ₂=-67.5° (Free)θ₁=-52.5°, θ₂=-67.5° (Free)θ₁=-37.5°, θ₂=-67.5° (Free)θ₁=-22.5°, θ₂=-67.5° (Free)θ₁=-7.5°, θ₂=-67.5° (Free)θ₁=7.5°, θ₂=-67.5° (Free)θ₁=22.5°, θ₂=-67.5° (Collision)θ₁=37.5°, θ₂=-67.5° (Collision)θ₁=52.5°, θ₂=-67.5° (Collision)θ₁=67.5°, θ₂=-67.5° (Collision)θ₁=82.5°, θ₂=-67.5° (Free)θ₁=97.5°, θ₂=-67.5° (Free)θ₁=112.5°, θ₂=-67.5° (Free)θ₁=127.5°, θ₂=-67.5° (Free)θ₁=142.5°, θ₂=-67.5° (Free)θ₁=157.5°, θ₂=-67.5° (Free)θ₁=172.5°, θ₂=-67.5° (Free)θ₁=-172.5°, θ₂=-82.5° (Free)θ₁=-157.5°, θ₂=-82.5° (Free)θ₁=-142.5°, θ₂=-82.5° (Free)θ₁=-127.5°, θ₂=-82.5° (Free)θ₁=-112.5°, θ₂=-82.5° (Free)θ₁=-97.5°, θ₂=-82.5° (Free)θ₁=-82.5°, θ₂=-82.5° (Free)θ₁=-67.5°, θ₂=-82.5° (Free)θ₁=-52.5°, θ₂=-82.5° (Free)θ₁=-37.5°, θ₂=-82.5° (Free)θ₁=-22.5°, θ₂=-82.5° (Free)θ₁=-7.5°, θ₂=-82.5° (Free)θ₁=7.5°, θ₂=-82.5° (Free)θ₁=22.5°, θ₂=-82.5° (Collision)θ₁=37.5°, θ₂=-82.5° (Collision)θ₁=52.5°, θ₂=-82.5° (Collision)θ₁=67.5°, θ₂=-82.5° (Collision)θ₁=82.5°, θ₂=-82.5° (Collision)θ₁=97.5°, θ₂=-82.5° (Free)θ₁=112.5°, θ₂=-82.5° (Free)θ₁=127.5°, θ₂=-82.5° (Free)θ₁=142.5°, θ₂=-82.5° (Free)θ₁=157.5°, θ₂=-82.5° (Free)θ₁=172.5°, θ₂=-82.5° (Free)θ₁=-172.5°, θ₂=-97.5° (Free)θ₁=-157.5°, θ₂=-97.5° (Free)θ₁=-142.5°, θ₂=-97.5° (Free)θ₁=-127.5°, θ₂=-97.5° (Free)θ₁=-112.5°, θ₂=-97.5° (Free)θ₁=-97.5°, θ₂=-97.5° (Free)θ₁=-82.5°, θ₂=-97.5° (Free)θ₁=-67.5°, θ₂=-97.5° (Free)θ₁=-52.5°, θ₂=-97.5° (Free)θ₁=-37.5°, θ₂=-97.5° (Free)θ₁=-22.5°, θ₂=-97.5° (Free)θ₁=-7.5°, θ₂=-97.5° (Free)θ₁=7.5°, θ₂=-97.5° (Free)θ₁=22.5°, θ₂=-97.5° (Collision)θ₁=37.5°, θ₂=-97.5° (Collision)θ₁=52.5°, θ₂=-97.5° (Collision)θ₁=67.5°, θ₂=-97.5° (Collision)θ₁=82.5°, θ₂=-97.5° (Collision)θ₁=97.5°, θ₂=-97.5° (Free)θ₁=112.5°, θ₂=-97.5° (Free)θ₁=127.5°, θ₂=-97.5° (Free)θ₁=142.5°, θ₂=-97.5° (Free)θ₁=157.5°, θ₂=-97.5° (Free)θ₁=172.5°, θ₂=-97.5° (Free)θ₁=-172.5°, θ₂=-112.5° (Free)θ₁=-157.5°, θ₂=-112.5° (Free)θ₁=-142.5°, θ₂=-112.5° (Free)θ₁=-127.5°, θ₂=-112.5° (Free)θ₁=-112.5°, θ₂=-112.5° (Free)θ₁=-97.5°, θ₂=-112.5° (Free)θ₁=-82.5°, θ₂=-112.5° (Free)θ₁=-67.5°, θ₂=-112.5° (Free)θ₁=-52.5°, θ₂=-112.5° (Free)θ₁=-37.5°, θ₂=-112.5° (Free)θ₁=-22.5°, θ₂=-112.5° (Free)θ₁=-7.5°, θ₂=-112.5° (Free)θ₁=7.5°, θ₂=-112.5° (Free)θ₁=22.5°, θ₂=-112.5° (Collision)θ₁=37.5°, θ₂=-112.5° (Collision)θ₁=52.5°, θ₂=-112.5° (Collision)θ₁=67.5°, θ₂=-112.5° (Collision)θ₁=82.5°, θ₂=-112.5° (Collision)θ₁=97.5°, θ₂=-112.5° (Collision)θ₁=112.5°, θ₂=-112.5° (Free)θ₁=127.5°, θ₂=-112.5° (Free)θ₁=142.5°, θ₂=-112.5° (Free)θ₁=157.5°, θ₂=-112.5° (Free)θ₁=172.5°, θ₂=-112.5° (Free)θ₁=-172.5°, θ₂=-127.5° (Free)θ₁=-157.5°, θ₂=-127.5° (Free)θ₁=-142.5°, θ₂=-127.5° (Free)θ₁=-127.5°, θ₂=-127.5° (Free)θ₁=-112.5°, θ₂=-127.5° (Free)θ₁=-97.5°, θ₂=-127.5° (Free)θ₁=-82.5°, θ₂=-127.5° (Free)θ₁=-67.5°, θ₂=-127.5° (Free)θ₁=-52.5°, θ₂=-127.5° (Free)θ₁=-37.5°, θ₂=-127.5° (Free)θ₁=-22.5°, θ₂=-127.5° (Free)θ₁=-7.5°, θ₂=-127.5° (Free)θ₁=7.5°, θ₂=-127.5° (Free)θ₁=22.5°, θ₂=-127.5° (Collision)θ₁=37.5°, θ₂=-127.5° (Collision)θ₁=52.5°, θ₂=-127.5° (Collision)θ₁=67.5°, θ₂=-127.5° (Collision)θ₁=82.5°, θ₂=-127.5° (Collision)θ₁=97.5°, θ₂=-127.5° (Collision)θ₁=112.5°, θ₂=-127.5° (Free)θ₁=127.5°, θ₂=-127.5° (Free)θ₁=142.5°, θ₂=-127.5° (Free)θ₁=157.5°, θ₂=-127.5° (Free)θ₁=172.5°, θ₂=-127.5° (Free)θ₁=-172.5°, θ₂=-142.5° (Free)θ₁=-157.5°, θ₂=-142.5° (Free)θ₁=-142.5°, θ₂=-142.5° (Free)θ₁=-127.5°, θ₂=-142.5° (Free)θ₁=-112.5°, θ₂=-142.5° (Free)θ₁=-97.5°, θ₂=-142.5° (Free)θ₁=-82.5°, θ₂=-142.5° (Free)θ₁=-67.5°, θ₂=-142.5° (Free)θ₁=-52.5°, θ₂=-142.5° (Free)θ₁=-37.5°, θ₂=-142.5° (Free)θ₁=-22.5°, θ₂=-142.5° (Free)θ₁=-7.5°, θ₂=-142.5° (Free)θ₁=7.5°, θ₂=-142.5° (Free)θ₁=22.5°, θ₂=-142.5° (Collision)θ₁=37.5°, θ₂=-142.5° (Collision)θ₁=52.5°, θ₂=-142.5° (Collision)θ₁=67.5°, θ₂=-142.5° (Free)θ₁=82.5°, θ₂=-142.5° (Free)θ₁=97.5°, θ₂=-142.5° (Free)θ₁=112.5°, θ₂=-142.5° (Free)θ₁=127.5°, θ₂=-142.5° (Free)θ₁=142.5°, θ₂=-142.5° (Free)θ₁=157.5°, θ₂=-142.5° (Free)θ₁=172.5°, θ₂=-142.5° (Free)θ₁=-172.5°, θ₂=-157.5° (Free)θ₁=-157.5°, θ₂=-157.5° (Free)θ₁=-142.5°, θ₂=-157.5° (Free)θ₁=-127.5°, θ₂=-157.5° (Free)θ₁=-112.5°, θ₂=-157.5° (Free)θ₁=-97.5°, θ₂=-157.5° (Free)θ₁=-82.5°, θ₂=-157.5° (Free)θ₁=-67.5°, θ₂=-157.5° (Free)θ₁=-52.5°, θ₂=-157.5° (Free)θ₁=-37.5°, θ₂=-157.5° (Free)θ₁=-22.5°, θ₂=-157.5° (Free)θ₁=-7.5°, θ₂=-157.5° (Free)θ₁=7.5°, θ₂=-157.5° (Free)θ₁=22.5°, θ₂=-157.5° (Collision)θ₁=37.5°, θ₂=-157.5° (Collision)θ₁=52.5°, θ₂=-157.5° (Collision)θ₁=67.5°, θ₂=-157.5° (Free)θ₁=82.5°, θ₂=-157.5° (Free)θ₁=97.5°, θ₂=-157.5° (Free)θ₁=112.5°, θ₂=-157.5° (Free)θ₁=127.5°, θ₂=-157.5° (Free)θ₁=142.5°, θ₂=-157.5° (Free)θ₁=157.5°, θ₂=-157.5° (Free)θ₁=172.5°, θ₂=-157.5° (Free)θ₁=-172.5°, θ₂=-172.5° (Free)θ₁=-157.5°, θ₂=-172.5° (Free)θ₁=-142.5°, θ₂=-172.5° (Free)θ₁=-127.5°, θ₂=-172.5° (Free)θ₁=-112.5°, θ₂=-172.5° (Free)θ₁=-97.5°, θ₂=-172.5° (Free)θ₁=-82.5°, θ₂=-172.5° (Free)θ₁=-67.5°, θ₂=-172.5° (Free)θ₁=-52.5°, θ₂=-172.5° (Free)θ₁=-37.5°, θ₂=-172.5° (Free)θ₁=-22.5°, θ₂=-172.5° (Free)θ₁=-7.5°, θ₂=-172.5° (Free)θ₁=7.5°, θ₂=-172.5° (Free)θ₁=22.5°, θ₂=-172.5° (Collision)θ₁=37.5°, θ₂=-172.5° (Collision)θ₁=52.5°, θ₂=-172.5° (Collision)θ₁=67.5°, θ₂=-172.5° (Free)θ₁=82.5°, θ₂=-172.5° (Free)θ₁=97.5°, θ₂=-172.5° (Free)θ₁=112.5°, θ₂=-172.5° (Free)θ₁=127.5°, θ₂=-172.5° (Free)θ₁=142.5°, θ₂=-172.5° (Free)θ₁=157.5°, θ₂=-172.5° (Free)θ₁=172.5°, θ₂=-172.5° (Free)-180°θ₁ (0°)+180°180°θ₂-180°
Joint Angles (Point in C-Space)
38°
-60°
Workspace Circular Obstacle
0.85
0.65
0.30

Darker red C-space cells = Link 1 collision; lighter red = Link 2 collision.

BFS, Dijkstra, A*, and RRT Pathfinding Visualizer

Canvas / SVG· Live
Click any empty or wall square to edit obstacles.
Nodes Explored: 61Path Length: 14.31 m
SG

Trajectory Spline & Velocity Profile Tuner

marimo· Live
Duration T = 2.42 s
|v|max: 1.50/1.50|a|max: 2.00/2.00|j|max: ∞ impulses
Position q(t)m
0
Velocity v(t)m/s
1.50
Accel a(t)m/s²
-2.02.00
Jerk j(t)m/s³
0
t = 0.00 st = 1.21 st = 2.42 s
2.5 m
1.5 m/s
2.0 m/s²

Gravity-Loaded Single-Joint Arm PID Tuner

marimo· Live
Settled Poset = 4.0 s
Target 25°mg
Step Response θ(t)Start −60° → Target +25°
-90°-45°0°25°60°0s1s2s3s4s
Steady-state error
+21.4°
Overshoot
0.0%
Peak motor torque
32.6 N·m
22.0
3.2
0.0
I·θ̈ = τ_pid + τ_ff − m·g·L·cos(θ) − b·θ̇ + τ_dist

Mass & Rotational Inertia Slider Lab

MuJoCo WASM· Live
Arm Mass Distribution (L = 0.80 m)CoM = 0.63 m (79% L)
r = 0.60 m2.4kg0.5 kg tipCoMShoulder
Required Peak Shoulder Torque (τ = I · α)3.7× baseline
Current placement (r = 0.75 L)9.47 N·m
Shoulder-mounted baseline (r = 0.05 L)2.59 N·m
0.75 L (0.60 m)
0.5 kg
8 rad/s²
Rotational Inertia Breakdown
Motor (m_m · r²)0.864 kg·m²
Payload (m_p · L²)0.320 kg·m²
Total I = m_m r² + m_p L²1.184 kg·m²
I = 2.4·(0.60)² + 0.5·(0.8)² = 1.184 kg·m²

Interactive Impedance Control Sandbox

MuJoCo WASM· Live
End-Effector Contact InteractionForce Limit / Overload
TargetWall (x=0.55m)F = 180.0 N
Steady contact force
180.0 N
Deflection Δx
50 mm
Tap impact peak
180.0 N
0.55 m
4000 (fixed) N/m
24 (fixed) N·s/m
Active stiffness K_eff4000 N/m
Damping ratio ζ0.15 (underdamped)
F = K·(x_target − x) − B·ẋ | τ = g(q) + J(q)ᵀ F

Odometry & IMU Dead Reckoning Drift Simulator

Canvas / SVG· Live
Start / True EndEst. End
Ground truthDead reckoningLoop-closure gap
Path: 12.8 m
+2.5%
+0.7°/s
0.25×

Cumulative Position Error

0 – 24 s
0.7m024s
Loop-Closure Drift
0.74 m
Heading Error
+20.3°

2D Extended Kalman Filter Uncertainty Ellipse Visualizer

marimo· Live
L1L2L3L4
True robotEKF mean & 2σ ellipse
Step 0 · Ready
1.2×
1.0×

Kalman Gain K (3×2) & 2σ Spread

StateRangeBearing
Δx0.000.00
Δy0.000.00
Δθ0.000.00
2σ Ellipse Radii
0.40 × 0.29 m
Mean Error
0.00 m

Particle Filter Kidnapped Robot Floorplan Demo

Canvas / SVG· Live
Alcove
True robot + 8-ray LiDAR80 weighted particles
Steps: 0
Localization State
Global uncertainty (uniform)
Effective Sample Size (N_eff)80.0 / 80
Mean Error
2.89 m
Cloud Spread
3.26 m

Tip: Alternate Move + Sense and Resample. Both hallways look identical until the robot passes the right-hand alcove.

Action Space Comparison Arena

Canvas / SVG· Live
TabletopTrain posTarget MugStart

Dots show each policy decision step (20 ms holds). Dashed gray line shows the straight-line reference to the shifted mug.

+0.22 m
−0.35 m0.00 (train)+0.35 m

Rollout Diagnostics

Final Target Error
0.0 cm
Smoothness Score
98 / 100
Generalization
100%
Hold Interval Δt
20 ms
Wrist Frame Δ commands motion relative to the gripper's local axes. Even when the table slides, local eye-in-hand cues keep tracking locked onto the mug.

Locomotion & Reach Reward Shaping Sandbox

marimo· Live
Emergent Behavior:Clean Reach
GoalStart

Brighter cells mark higher per-step reward. Dashed rings show equal-distance contours around the green goal zone.

1.4
+10.0
0.30

Episode Return & Telemetry

Total Return
39.5
Final Goal Dist
0.00 m
Control Energy ∑‖a‖²dt5.32
Balanced shaping: the dense gradient guides the agent smoothly out of start, and the action penalty damps velocity so it settles inside the goal ring.

Sim-to-Real Domain Randomization & Friction Mismatch Explorer

MuJoCo WASM· Live
z = 0 m (ground / table plane)Target ReferenceExecuted (Nominal)

Shaded ribbon marks the ±4 cm task tolerance corridor. Low friction triggers traction slip, heavy mass pulls trajectories into sag, and latency causes phase oscillation.

0.60×
1.45×
28 ms
RMS Error
5.2 cm
Peak Dev
6.2 cm
Traction Slip Time0%