blonkm / rubiks-cube

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

request for parameters documentation #39

Closed bcube2 closed 9 years ago

bcube2 commented 9 years ago

Both Josef and Werner have documentation for their applet parameters. Therefore it is easier to use those parameters for website makers. Lars has incomplete documentation (from my point of view as a non-programmer).

When I write "?stickers=cross,alg=R", cute little cubie is shown, but I would expect one move from solved cross. Therefore documentation for how to use more parameters simultaneously would be nice.

If I may ask, how do you imagine to set those parameters by website makers? Lars, Josef, Werner (and I think molarmanful too) let the website maker to set the parameters in the code/site itself, not by url...

blonkm commented 9 years ago

My apologies. I've been working frantically on the code so user documentation is currently lacking. I will work on it in the wiki of Github.

For now, in short: ?stickers=F2L&alg=R would do the trick.

In an html page you can use data attributes.

E.g.

Only one cube per page is possible. I am working on this. On May 20, 2015 2:17 AM, "bcube2" notifications@github.com wrote:

Both Josef and Werner have documentation for their applet parameters. Therefore it is easier to use those parameters for website makers. Lars has incomplete documentation (from my point of view as a non-programmer).

When I write "?stickers=cross,alg=R", cute little cubie is shown, but I would expect one move from solved cross. Therefore documentation for how to use more parameters simultaneously would be nice.

If I may ask, how do you imagine to set those parameters by website makers? Lars, Josef, Werner (and I think molarmanful too) let the website maker to set the parameters in the code/site itself, not by url...

— Reply to this email directly or view it on GitHub https://github.com/blonkm/rubiks-cube/issues/39.

bcube2 commented 9 years ago

Got it. Everything is clear now. Thank you for an explanation.

blonkm commented 9 years ago

See https://github.com/blonkm/rubiks-cube/wiki/Documentation

bcube2 commented 9 years ago

Black sticker can not be seen, because b letter is already taken by blue. Upper case (B) works but not as expected - btw. those little cubies are cute indeed :-)