Simulation of a Rubik's cube made with JS and WebGL.
Open rubik.html in a web browser
The cube can be controlled with the buttons shown below:
To run the code properly, you should disable CORS in your browser. Alternatively, you can start an http server with python in the project directory python3 -m http.server
and access rubik.html through localhost, without disabling CORS.