Skip to main content
Renders MuJoCo tendons as smooth tube geometry. Useful for visualizing tendon-driven systems (e.g., robotic hands).

Usage

Props

TendonRenderer takes no props. Tendons are rendered with default styling.

How It Works

  1. On model load, creates one Mesh per tendon with a shared MeshStandardMaterial and initial TubeGeometry
  2. Each frame, updates the CatmullRomCurve3 control points from data.wrap_xpos
  3. Rebuilds only the TubeGeometry from the updated curve — the material and mesh objects are reused
  4. Tendons with fewer than 2 valid wrap points are hidden automatically

Defaults

Notes

  • Requires tendons defined in the MJCF model
  • ten_rgba and ten_width may not be available in the active MuJoCo WASM binding — defaults are used instead
  • If the model has no tendons, this component renders nothing
  • Meshes and material are created once and reused — only geometry is rebuilt per frame