{ }

Rubik's Cube Solver

Feed the algorithm any scrambled cube and watch it unravel step-by-step. Choose a preset configuration or paint your own cube face-by-face.

Try Demo → Build My Cube
🔄

Layer-by-Layer

The solver decomposes the cube into three layers and applies targeted move sequences to solve each independently.

🎯

State Validation

Before solving, the algorithm validates your color input for structural consistency — catching impossible cube states instantly.

Animated Solution

Each move is rendered frame-by-frame so you can follow along, learn the sequences, and replay any step.

Rubik's Cube Demo
6 Preset States

Sample Demo — Watch It Solve

Choose one of 6 pre-configured scrambled cube states and watch the algorithm solve it step-by-step with an animated 3D visualization. Perfect for understanding the solving sequence.

  • 1Click "Go To Demo" to open the solver.
  • 2Select one of the 6 sample configurations.
  • 3Press "Solve" or use the right arrow key for each step.
  • 4Watch the cube unravel before your eyes.
Go To Demo →
Custom Rubik's Cube
Custom Color Input

Build Your Cube & Solve It

Have a scrambled cube in your hand? Paint all six faces digitally by dragging your color selection across the grid cells. The algorithm validates your input and computes the solution instantly.

  • 1Click "Build My Cube" to open the editor.
  • 2Select a color and drag to paint each face.
  • 3Press "Solve" to generate the move sequence.
  • 4Step through each move with "Next" or the arrow key.
Build My Cube →

Video Tutorials

Watch the Rubik's Cube solver in action before you try it yourself.

Video 1
Video 2
Video 3
Video 4
Video 5