Web app · TypeScript · three.js
Cube Solver
Set up any cube from 2x2 to 7x7 by scrambling, turning or painting stickers, and get solutions (optimal on the 2x2 and 3x3), next moves ranked by distance, and step-by-step breakdowns, all animated on a 3D cube you can grab, turn, zoom into and take apart.
Features
2x2 always optimal (full table of 3,674,160 positions)3x3 Fast: Kociemba two-phase3x3 Optimal: IDA* with pattern databases4x4 to 7x7 by reductionNext moves ranked by distanceMethods: Layer by layer, CFOP, Roux, ZZPaint a real cube on the 3D cube or a flat netSolvability checkExploded viewShare links, import/exportNotation lessons and app tourRuns in the browser, as an offline PWA, and on Windows (Tauri 2)
Skills learned: Search algorithms (two-phase, IDA*, pattern databases), 3D rendering with three.js, Web Workers and IndexedDB caching, accessible UI, automated tests and CI.
Curious how it works? The PDF is a deep dive into the game theory behind each game and how the best play is found.



