🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 19: Constrained Orbit Viewer

3D Engineer
Step 1 of 2
Project

Review: Camera & Controls

Combine an explicit camera position with OrbitControls for full user navigation.

🎯 Your Task

Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!

export default function Scene() {
  return (
    <Canvas camera={{ position: [2, 2, 5], fov: 45 }}>
      <ambientLight intensity={0.6} />
      <mesh>
        <torusKnotGeometry args={[0.7, 0.25, 100, 16]} />
        <meshStandardMaterial color="mediumpurple" />
      </mesh>
      <OrbitControls />
    </Canvas>
  );
}