top of page

Cube Visualization Tool

See every turn. Understand every move.

Meet your virtual cube

Ever wonder what really happens when you turn a Rubik’s Cube? Here’s a cube you can twist, mix up, and fix, right on the screen. Spin it around, turn any face, then press Solve and watch it undo every move, one step at a time.

Try it

  • Scramble to mix up the cube, or twist a face yourself with the R, L, U, D, F, B buttons.
  • Drag the cube to spin it and look at every side.
  • Press Solve to watch it unwind. Press Step to see one move at a time, or use the Speed slider to slow it down.
  • Turn on Prime to try the opposite turn, then watch what happens.

Learn the notation

Each button is a letter from the cube’s secret code. R is a turn of the right face. R′ (say “R prime”) is the opposite turn, and R2 is a half turn. Watch the move list at the bottom to see the code in action as the cube solves itself.

The math behind the magic

Every turn has an opposite turn that cancels it out. Turn a face clockwise, then counter-clockwise, and you’re right back where you started. The tool uses this idea to solve the cube. It remembers your moves, then plays them backwards using the opposite of each one. That’s opposites at work, and it’s the same idea you’ll meet in the Beyond the Cube video tutorials.

bottom of page