A simple Rubik's Cube visualizer built using Processing for a computer graphics project. This project is based on The Coding Train's Rubik's Cube challenge, with some modifications to fit my approach.
- 3D Cube Visualization: View a 3D representation of the Rubik's Cube.
- Face Rotations: Perform all standard face rotations on a single face.
- Random Scramble: Generate a random sequence of moves to scramble the cube.
- Auto-Unscramble: Reverse the generated scramble sequence to return the cube to its solved state.
- Note: The cube can only be unscrambled if scrambled using the built-in function. Manually scrambled states cannot be solved.
- Only one face can be rotated.
- Custom scrambles cannot be solved automatically.
- Download and install Processing.
- Clone or download this repository.
- Open the
.pdefile in Processing. - Run the sketch to visualize and interact with the cube.
- Inspired by The Coding Train's Rubik's Cube challenge.
- Implement full cube rotation.
- Allow interaction with multiple faces.
- Add support for solving custom scrambles.