three-chamber
A repository of creative and practical experiments using Three.js.
How to run
pnpm run start
Static asset server runs on port 2000 by default.
If assets fail to load, check whether the asset server is running and whether port 2000 is reachable.
My Blog
Find more in my blog : juejin
Featured Projects
Kinematic and Robotic
IK Pick
Pick-and-place robotic arm demo with IK, staged motion, and physics-based cube grasp/release.

Simple IK
Position/rotation target driven IK demo with draggable end-effector control.
Math principle: use task error $e=[e_p,e_r]$, where $e_p=p_t-p(q)$ and $e_r$ is orientation error from quaternion difference.
For revolute joint $i$, Jacobian columns are $J_{v,i}=a_i \times (p-p_i)$ and $J_{w,i}=a_i$, then update with gradient step $\Delta q=\alpha J^T e$.
DH Links
Denavit-Hartenberg robotic arm modeling demo.
Shows DH links clearly, with connections rendered as 3d Bezier curves.
In MDH mode, I add an extra parameter set so there is an end joint for consistency.
I started using Codex for this example.
Editors
Camera Editor
Spline-based camera animation editor for smooth, programmable shots

Rendering
Path-Tracing
Simple path-tracing demo built on Three.js.

Animation
TowerMotion
Lightweight BIM building animation controller with timeline-friendly motion


