cubing.js icon indicating copy to clipboard operation
cubing.js copied to clipboard

Add a heuristic for detecting slice moves.

Open lgarron opened this issue 7 years ago • 2 comments

e.g. L R' is interpreted as M' together with an orientation change (see cubing/cuble.js#4) if they fire within 0.1s of each other.

lgarron avatar Jun 21 '18 05:06 lgarron

(Warning: high level thought that might not fit with your goals here). Is this project meant to be a javascript library to help you interface with a Giiker/GoCube/XYZ bluetooth connected Rubik's cube? If so, then I feel like the sort of heuristic defined in the original post is outside of the scope of what I'd expect such a library to do. I'd rather that the library have support for cubing/cuble.js#4, and that users of the library would be able to easily build rotation heuristics like this themselves.

jfly avatar Jun 21 '18 06:06 jfly

Yeah, I'm not sure we necessarily need this in the base library. We certainly shouldn't enable it by default. But making this easy to use might require some sort of heuristic plugin/callback API.

lgarron avatar Jun 21 '18 08:06 lgarron