Fork of 3D Cube of Spheres
✓ Published0🌍 Public
A 3D wireframe cube of sixty-four colored spheres rotates slowly in dark space, with each sphere's hue derived from its coordinate position across the cube's three axes. The piece uses Three.js with WebGL rendering and OrbitControls for interactive camera movement. A directional light and ambient light provide simple shading, while each sphere shares a common sphere geometry but uses a unique MeshPhongMaterial. The animation loop increments the cube's rotation along the X and Y axes each frame.
AI-generated descriptionMIT Licensed