A mobile-friendly web-based Rubik's Cube with a built-in solver using three.js and jQuery.
See it running at https://andrewmacheret.com/projects/cube.
Prereqs:
- A web server (like Apache).
Installation steps:
git clone <clone url>
Test it:
- Open
index.html
in a browser. - For testing purposes, if you don't have a web server, running
python -m SimpleHTTPServer
in the project directory and navigating to http://localhost:8000 should do the trick. - You should see a Rubik's Cube, and you should be able to rotate 6 faces and rotate the entire cube with the mouse (or with touch on mobile).
- To troubleshoot, look for javascript errors in the browser console.