I built this project to explore how a Rubik's Cube can be represented and animated in 3D, and to prepare a foundation for adding solver algorithms later. The frontend is an interactive Three.js demo; a solver/back-end (Python) will come next.
Tech used: HTML, CSS, JavaScript, Three.js
I have primarily built the Rubik's cube with and will build the backend(currently work in progress) with the help of python which will have the algorithms for solving the cube
Currently I have refactored the file into different sub-files for modularity of the project
While making the cube, I learnt a lot about 3D matrix and their manipulations, the implementation of stickers took many iterations and logics for me to make but it did come together, for further explaination of my thought process and how I implemented my cube, you can go to docs of the project