Case studyOpen Source
CubeLab
Scan a cube and follow each solution move.
- Year
- 2026
- Focus
- Interactive cube solver
Overview
A browser-based Rubik's Cube solver with camera scanning, manual input, and interactive 3D solution playback.
The challenge
Cube input needs color and solvability validation, while solution search must not block the interactive interface.
How it works
Capture face colors with camera-based HSV classification or a manual sticker editor.
Validate cube states and run a TypeScript Kociemba two-phase solver in a Web Worker.
Animate solution moves with React Three Fiber, including step controls and move explanations.
Technology stack
- Next.js
- TypeScript
- React Three Fiber
- Three.js
- Web Workers
- Zustand
Highlights
- camera and manual input
- Scan
- browser-based cube search
- Solver
- animated solution playback
- 3D