🌍 Public
Viewing a saved revision (read-only)
113979f7624645429cc23076a15adc08
ThreeJS Starter
A Three.js scene displays a single blue cube rotating automatically in 3D space. The cube uses a `MeshPhongMaterial` that responds to both ambient and directional lighting, showcasing interactive orbit controls for drag-to-rotate and scroll-to-zoom. The animation runs via `requestAnimationFrame` with WebGL rendering on a canvas element. The code imports Three.js and its `OrbitControls` addon through import maps, with a responsive resize handler updating camera aspect and renderer size.
AI-generated descriptionThreeJS Starter.
- Uses import maps!