Rubik's Cube Part 2
Coding Challenge #142.2
In part 2 of the Rubik’s Cube challenge, I simulate rotations of the cube’s faces using matrix operations. I also refactor the code to include a separate Face class (from the Cubie class).
Community Contributions
- p5.js Rubik cube by xxnavixx (Source Code)
- Multi-sized cubes without internal colors by Vladi Gotsin (Source Code)
- Rubic's Cube using Processing3 by Tapan Prajapati (Source Code)
- Rubik's Cube simulation with P5js by willian (Source Code)
- Rubik's Cube made in Unity by Ledii (Source Code)
- p5.js Rubik's Cube with speedcubing controls by antracen (Source Code)
- Coffeescript 46 lines, 1 byte per cubie by Christer Nilsson (Source Code)
- In processing, with better use of matrix transforms and improved controls by Tadimon (Source Code)
- p5.js port by zl25drexel (Source Code)
- Cubo de Rubik in p5.js by Gongo (Source Code)
- 3D Rubik's Cube - JAVA by Abhinav Sharma (Source Code)
- 3D Rubik's Cube - With Key Controls and OOP Shuffling by Tanmay (Source Code)
You can also add your own version! (See how)