Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 612 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 612 Bytes

CubeRotation-3D

Interactive cubes, allowing cube rotation and dragging, and scene rotation

This project was written in HTML, CSS and JavaScript, using the Three.js library.

There are 3 main features on this app:

  • 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.