Interactive cubes, allowing cube rotation and dragging, and scene rotation
This project was written in HTML, CSS and JavaScript, using the Three.js library.
- Cube dragging
- Cube rotation
- Scene rotation
To rotate a cube, double-click on any cube and rotate the sphere that appears around it.
To rotate the whole scene, double-click outside any cube and rotate the sphere that appears around the scene.
To drag a cube, just click and drag any cube you want.
You can also zoom in and out of the scene with your mouse/trackpad.