Fork of ThreeJS Starter
✓ Published0🌍 Public
A glowing blue cube rotates continuously in a 3D scene, rendered with Three.js and WebGL. The cube uses a MeshPhongMaterial with directional and ambient lighting, creating visible highlights and shading. Users can orbit and zoom the camera using OrbitControls with damping enabled, while the animation loop updates the cube's rotation. The scene responds to browser resizing, with a canvas-based renderer set to antialias.
AI-generated descriptionMIT Licensed