Comments (5)
This probably just needs some proper classes with convenience methods and translation to twisty.js-usable formats.
from twisty.js.
By "JSON alg", you mean a twisty.js "move", right? By "move", I mean an element of the moveQueue in the file "twisty.js".
from twisty.js.
A "move" is a move. An alg would be a sequence of moves. The queue is a crude example of that, but actual representations of algs have some subtleties (normalizing / condensing moves, preserving metadata like commutators and/or comments).
from twisty.js.
Are you sure that's the sort of thing twisty.js should be dealing with? That really seems like an algnexus thing.
from twisty.js.
https://github.com/cubing/twisty.js/blob/master/inc/twisty/twisty_alg.js has rudimentary support by now.
from twisty.js.
Related Issues (20)
- Lenient parsing modes
- Backwards animation. HOT 2
- Change location information to string index. HOT 1
- Restore mouse support for `touch` branch. HOT 1
- Record the time of each move for touch input
- Rename algSimplify -> simplify, algToMoves -> toMoves, etc. HOT 1
- Allow alg functions to accept strings HOT 1
- Proper spacing around newline HOT 2
- Alg equality checking.
- Alg class (prototypes)
- Support layers in BlockMove
- Default Repeatable amount to 1
- Support Square-1 moves
- Support clock moves
- Make tests run in node.js
- Add a pre-commit hook
- Playback is not deterministically stopping at breakpoints. HOT 1
- Make twisty.js a shining example of best practices and quality code
- Cube state HOT 1
- Switch from flexbox to grid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twisty.js.