Interactive 3D Cube

Drag to rotate the cube. Use the on-screen buttons or your keyboard (R, U, F, L, D, B — hold Shift for prime) to perform moves. Use the step controls or arrow keys to move forward and backward through your move history. Toggle Relative mode to map moves to whichever face is currently facing you.

Moves: 0
0 / 0Arrow keys to step
Speed1.00x
Keys: R U F L D B (Shift = prime) | ← → step | Drag to orbit

How to Use

  • Drag to rotate the cube and view it from any angle.
  • Scroll to zoom in and out.
  • Keyboard — press R U F L D B for clockwise face turns. Hold Shift for prime (counter-clockwise).
  • 180° mode — toggle the 90°/180° button to perform double turns (R2, U2, etc.).
  • Absolute vs Relative — in Absolute mode (default), R/U/F/L/D/B always refer to the fixed cube faces. In Relative mode, they map to whichever face is currently on the right/top/front from your camera viewpoint — useful when you rotate the cube to a different angle.
  • Step controls — use the Back / Forward buttons or arrow keys to move through your move history one step at a time. Play All replays remaining moves.
  • Speed slider — adjust animation speed from 0.5× to 3×.
  • Scramble applies 20 random moves with animation. Step backward to undo them one at a time.
  • Reset returns the cube to the solved state instantly.
  • Spin toggle pauses the auto-rotation so you can hold the cube steady while solving.