π± Drag background β Rotate camera
π± Drag face β Rotate layer
Welcome!
This project is an interactive 3D Rubik's Cube simulator built with JavaScript and Three.js.
Its main goal is to combine realistic 3D graphics, intuitive controls, and an efficient solving algorithm in a single web application.
The simulator is based on Herbert Kociemba's Two-Phase Algorithm, one of the fastest and most widely used methods for solving the Rubik's Cube.
In addition, a custom optimization layer has been implemented. The solver evaluates up to 20 of the most promising candidate solutions and automatically selects the shortest valid solution.
Note. The solution search is performed using the Kociemba Two-Phase Algorithm. The program analyzes a large number of possible cube configurations using precomputed transition tables and pruning tables. The total number of possible Rubikβs Cube states is approximately 43 quintillion (43,252,003,274,489,856,000), so even with an optimized algorithm, finding the optimal solution may take some time.
The solving speed depends on:
In most cases, a solution is found within a few seconds. However, for more complex configurations, the search may take considerably longer.
GitHub
github.com/Akinaru72/cube-app
E-mail
akinaru3@gmail.com
Version 1.0 Β© 2026 AKINARU