blonkm / rubiks-cube

WebGL Rubik's Cube
http://goo.gl/uDQH6U
MIT License
40 stars 12 forks source link

Cube not shown with empty algorithm parameter #27

Closed blonkm closed 9 years ago

blonkm commented 9 years ago

When the alg parameter is missing from the url, the cube is not shown.

bcube2 commented 9 years ago

What do you mean by alg parameter? Right now the cube is not shown for me (firefox 37.0.2 + win7 32 bit). I tried to write "R" and click to run algorithm button but nothing changed.

blonkm commented 9 years ago

OK, sorry for the confusion. Perhaps you haven't refreshed. I also have FF 37.02 and it works here. Go to http://www.rubikscubealgorithms.com/scripts/?alg=FRDBLU

The alg is configurable now, so before the cube is shown the algorithm is performed. It is possible the cube not showing is because of a jQuery effect I put in. I have removed that effect now to prevent the blank canvas bug.

More info: https://github.com/blonkm/rubiks-cube/commit/f6c53fc1268cec9f3fdb7e53c98567c255cf492a or #22