Hey guys,
so after learning a little bit of Excel VBA I managed to write some code that simulates a 3x3x3 Rubik's cube in Excel.
I first saw a similar attempt here: http://thepunditpunnedit.wordpress.com/2011/08/28/excel-rubiks-cube/
But every turn had a huge lag since the code it seems is just based on copy-pasting to do the turns. With my attempt I did the calculations with arrays before outputting the values to the excel sheet so the turns are much more fast and smooth to do.
Other features include:
Download link:
http://www.mediafire.com/download/wd83a734ut0vm3h/Rubik's+Cube+Simulator.xlsm
Feel free to make your own changes, improve it, etc.
so after learning a little bit of Excel VBA I managed to write some code that simulates a 3x3x3 Rubik's cube in Excel.
I first saw a similar attempt here: http://thepunditpunnedit.wordpress.com/2011/08/28/excel-rubiks-cube/
But every turn had a huge lag since the code it seems is just based on copy-pasting to do the turns. With my attempt I did the calculations with arrays before outputting the values to the excel sheet so the turns are much more fast and smooth to do.
Other features include:
- x,y,z rotations
- 3-D view of the cube (F,U,R faces)
- Scrambler, takes into account previous move so not to undo it
- Seconds timer
- Will check to see if solved to stop the timer
Download link:
http://www.mediafire.com/download/wd83a734ut0vm3h/Rubik's+Cube+Simulator.xlsm
Feel free to make your own changes, improve it, etc.
Attachments
Last edited: