loading code fetching the highlighted snippet
A registered threeEffect springs a torus knot while the same Motion API animates its shader progress uniform.
animate(mesh) drives Three.js transform shorthands.threeEffect writes the progress MotionValue into the shader.frame.preRender updates both before Three.js renders.