Lab · 006 · play

Rubik's cube solver

Paint any scramble and get a short solve back, worked out in your browser with Kociemba's two-phase algorithm.

prototypeReactViteTypeScriptWeb Workers

Play

Scramble the cube on screen, or paint the stickers to match a real cube in your hand, and the solver finds a short solution. It uses Kociemba’s two-phase search, which first gets the cube into a subgroup that only half-turns and U/D quarter-turns can finish, then solves it within that subgroup.

The search runs in a Web Worker, so the cube keeps turning smoothly while it thinks.

Updated 2026-10-07