A rotatable 3D cube in a webpage using THREE.js