Michael Feather
Michael Feather
Here is a function to draw an X on facelets that can be added to AnimCube3.js: ``` function drawX(g, xx, yy) { var x = []; var y = [];...
Glad to see that you've got it working, and then some! :)
It can be done using method described in Enhancement section in AnimCubeJS Doc, here is an example of how to do it: ``` var acjs_removeListeners = []; var arr =...
Here is a slightly modified version that shows how to do multiple cubes, if needed. ``` var acjs_removeListeners = []; var arr1 = [ 'ddddydddddwdwwwdwdddddbbdddddddggdddddddoddodddddrrddd', 'ddddyddddwwwwwwwwwdbbdbbdbbdggdggdggdddoooooodrrdrrdrr', 'yyyyyyyyywwwwwwwwwdbbdbbdbbdggdggdggdddoooooodrrdrrdrr', 'yyyyyyyyywwwwwwwwwbbbbbbbbbgggggggggooooooooorrrrrrrrr' ]; var...
I implemented a local copy of your website and got a demo working by doing the following: In dir src/components, copy AnimCube dir to AnimCubeDemo and modify index.js as shown:...
To fix sidebar navigation remove preventDefault from the mouseup function in AnimCube.js. For cube rotation outside the cube area to work the listeners need to be attached to an object...
The 2x2 on your website is working for me with no issues. Can you confirm that your browser is running the updated code? One way to do that is put...
In reference to: https://github.com/mjstraughan/CubingHistory/issues/5, the following fix (to eliminate double moves) is for the 2x2 using the original AnimCube2.js code (with preventDefault removed from the mouseup function), change the listeners...
Glad to hear 2x2 is working. For 3x3 get a copy of the original AnimCube3.js from the AnimCubeJS Repo (https://animcubejs.cubing.net/sources/codes/js-unminified/AnimCube3-unminified.js) and remove the preventDefault from the mouseup function and also...