Home▸Algorithms & AI▸2D/3D Rubik's Cube — Unfolded Net View

2D/3D Rubik's Cube — Unfolded Net View

A 2D companion to the 3D Rubik's Cube: rotate real cube layers on an unfolded six-face net, with genuine corner and edge permutation across neighboring faces.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-rubiks-cube ↗ Open standalone

This 2D companion draws the same Rubik's Cube as an unfolded six-face net instead of an orbit-controlled 3D scene: each of the 26 outer pieces is tracked by real (x, y, z) position and orientation, so every U/D/L/R/F/B move (and its prime) applies a genuine 90° layer rotation that correctly slides edge and corner stickers onto the neighboring faces — not a random recoloring. Scramble mixes the cube with a random sequence of real moves, the move counter and solved indicator track your progress, and Reset returns the cube to its solved state.

⚙ Under the hood

A 2D companion to the 3D Rubik's Cube: click U/D/L/R/F/B (and their primes) to rotate real cube layers on an unfolded six-face net, with the same corner and edge stickers permuting correctly across neighboring faces.

Rubik's CubePuzzlePermutation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)