Magic cube
A 3D cube to scramble, turn and solve. It runs in the page and nothing is uploaded.
- Time
- 0:00.00
- Moves
- 0
- Best
- —
Turn and solve a 3D cube. Press Play to load it.
Turn buttons
Drag a sticker to turn its layer, drag the background to look around. Keys: U D L R F B turn faces, Shift + key turns back, arrow keys rotate the view.
3D graphics by three.js (MIT licence).
How to use this tool
Solve a magic cube in three steps.
Scramble
Choose a size and press Scramble. The clock starts with your first turn.
Turn the layers
Drag stickers to turn rows and columns, drag the background to look around, or use U D L R F B on the keyboard.
Solve it
When every face is one colour the clock stops and your best time is kept.
FAQ
How do I turn a layer?
Press Play, then drag a sticker in the direction you want its row or column to move. Drag anywhere off the cube to look around it. On a keyboard, U D L R F B turn the outer faces and Shift turns them the other way.
What does the notation mean?
Each letter is a face: U up, D down, L left, R right, F front, B back. A letter alone is a quarter turn clockwise as you look at that face, an apostrophe (R') is anticlockwise, and a 2 (R2) is a half turn.
How do beginners solve a 3×3?
Layer by layer. Make a cross on one face with the edge colours matching the centres, put the four corners of that face in, then the middle-layer edges. Finally solve the last face: form its cross, orient its corners, and move the corners and edges into place.
Which sizes can I play?
2×2, 3×3 and 4×4. The 2×2 is only corners, so it is a good warm-up; the 4×4 has no fixed centres, so you pair centres and edges before solving it like a 3×3.
Is my cube saved?
Yes. The scramble, your turns, the clock and your best time for each size are kept in this browser, so you can close the page and carry on later.