This is a little demo of ES6 JavaScript and the famous library ThreeJS, to display (and create) 3D models in your browser.
You can try this repo here: Click here to check the Demo
Note: In the demo you can move the cube by dragging with your mouse/finger. If you want to rotate the whole cube, drag the background.