Roofpig icon indicating copy to clipboard operation
Roofpig copied to clipboard

Rubik's Cube animation for the modern web.

Results 24 Roofpig issues
Sort by recently updated
recently updated
newest added

I found that XYZ are too diffult to understand. Following the style of Rw (rotate double rows), I use Ra to mean moving all three planes. Ra moves the whole...

Roofpig does not allow input or display of XYZ rotations in upper case. This PR allows input of XYZ (and X', Y2, etc). If algdisplay=xyzupper is provided, then output will...

if algdisplay=fancym1s is provided, -1 is displayed as superscript -1 like a real inverse operation

By default, roofpig.js appends a stylesheet upon document.onload(). There is no method to override the default CSS, because the roofpig sheet gets highest priority. With this patch, if web page...

The color of the START position is wrong when M/E/S slice moves or x/y/z rotations are involved. With this commit, demo/alexfung.html shows the correct colors. This branch is forked from...

Hello, I am running into an issue. I am trying to use your library to show 2 cubes. A first cube with the scramble instructions and a second with the...

For example, `alg=U` maintains red front/yellow up. However, `alg=M U` reorients to yellow front/orange up. This then requires adding `setupmoves=x` to maintain the correct orientation. The same is true of...

All the demos at jsfiddle.net are dead, because they try to read the roofpig js file over http. No decent browser nowadays will allow a https page to access http.

It might be better to move css out, provide it as a standalone file. Then users can use the default style or their own. ``` html ```

Hi Lars, This is such a great project! So right now when you rotate the cube (using the key events) `CSXD` you are moving the camera and thus the position...