Interactive 3D Sphere Cube
A 3D visualization of a cube made of colored spheres using Three.js.
Features
- Interactive orbit controls (drag to rotate, scroll to zoom)
- Responsive design that adapts to window size
- Adjustable parameters in config.js
- Color variation based on sphere position
- Smooth animations
Setup
- Clone this repository
- Open
index.html
in a modern browser
- Use mouse/touch to interact with the 3D scene
Configuration
Edit config.js
to change:
- Sphere size and density
- Cube dimensions
- Camera settings
- Animation speed