Compare the above three.js implementation with the following Sage interact from my older Calc2 TechCompanion. Click the Interact button, then drag the slider to determine how far to move the wheel along the $x$-axis.