# alg.cubing.net

Discussion in 'Software Area' started by Lucas Garron, Feb 23, 2014.

Welcome to the Speedsolving.com. You are currently viewing our boards as a guest which gives you limited access to join discussions and access our other features. By joining our free community of over 30,000 people, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

1. ### Lucas GarronSuper-Duper ModeratorStaff Member

It's time to follow up alg.garron.us with:

There are a few reasons for this. The main one is that alg.garron.us is based on Java applets, which many browsers (rightfully) refuse to run these days.
2.5 years ago I started writing twisty.js to handle the animations, and have recently gotten alg.cubing.net to the "beta" stage. There are still a few visual glitches, and it's a little inefficient right now, but it's pretty much working. The wiki alg links already point to alg.cubing.net, and eventually all alg.garron.us URLs will be rerouted.

A few benefits over alg.garron.us include:

• The view updates automatically (no need to press a "View" button).
• Continuous playback (you can grab the slider and stop halfway through a move!)
• A larger display and fullscreen mode.
• Support for larger cubes. (More puzzles are coming.)
• Move counts and a few alg manipulation tools.
• It works on your smartphone!
• Plans to support alg/reconstruction playbacks inside [ALG] tags on speedsolving.com
• Open source! I want to make it easy for other people to add features (e.g. new puzzles).

I thought I'd start there. Is there anything you'd like to see? Anything badly broken? Any cool ideas I haven't thought about?

Last edited: Feb 23, 2014
2. ### Lucas GarronSuper-Duper ModeratorStaff Member

Last edited: Feb 23, 2014
3. ### RageCuberMember

251
0
Nov 23, 2013
Kentucky
WCA:
2014RYAN03
XileSolver
PERFECT! I'm sure this will help!

May 8, 2011
Central NY, US
WCA:
2012PRAT02
Looks great! Quick question, do the URLs have the same syntax as alg.garron.us? Just wondering, since I can update RPG.

Another bonus: works on phones

5. ### Lucas GarronSuper-Duper ModeratorStaff Member

Nope, some parameters were renamed. I haven't written coded the exact remapping yet, but you can see a translation here.

In any case, I hope to have full functionality to supersede RPG stats some day. ;-)

May 8, 2011
Central NY, US
WCA:
2012PRAT02
What are you planning on doing/making? Feel free to rip code if you want (it isn't the prettiest, but it works)

650
0
Dec 26, 2010
Chennai, India
WCA:
2011NARA02
Bhargav7771
Awesome. Works smooth on smart phones too! Thanks Lucas!!

Last edited: Feb 28, 2014

971
57
Feb 17, 2011
Co. Tyrone, N. Ireland
WCA:
2013DEAR01
Looks amazing. And it works on iOS which is awesome.
Oh, and...17x17x17?!!
Gj

9. ### EMIMember

841
20
Apr 23, 2011
Germany
WCA:
2011RHEI01
EMI94100
That's good, my browser also refused Java. I already saw Brest use it for the 8x8, and I tried it out for my own 4x4 reconstruction. The only thing I didn't quite like is that double turns seem a bit fast. Other than that, it's really awesome.

10. ### RenslayMember

Aug 1, 2011
Hungary
WCA:
2005HANT01
Renslay
If I write:
[R, U]

Then the play button does R U reset R U reset R U reset... continuously. The "expand" button solves it (replace it with R U R' U'), but I fail to see why couldn't it work in a proper way.
The same with [R: U].

11. ### Tao YuMember

995
25
Jun 29, 2011
Ireland
WCA:
2012YUTA01
taoxyu
This is really nice. I like the move counts and the "End Solved" setting.

Same also happens with stuff like (R U)6.

12. ### Lucas GarronSuper-Duper ModeratorStaff Member

Both of these have the same answer. Support for move timing!

Code:
x y' // inspection
F R D L F // cross
U R U' R' d R' U R @1.53s // 1st pair
y U2' R' U' R // 2nd pair
U L U' L' d R U' R' // 3rd pair
y' U' R U R' U R U' R' @3.69s // 4th pair (OLS)
R2' U' R' U' R U R U R U' R U2' @5.22s // PLL
If there are timing marks, this will scale the total animation length of each segment.
Within those, longer turns will animate slower.

I'm trying to do something fancy with playback (the actual input is highlighted during animation), but it's currently not perfect. I've gone ahead and disabled it for algs with commutators until I figure out something better.

May 8, 2011
Central NY, US
WCA:
2012PRAT02
Interesting. So this would allow us to (basically) have reconstructions shown at full speed?
And by the way: I'm sure I can incorporate that into RPG

14. ### AmazingCuberMember

608
0
Oct 10, 2013
Berlin, Germany
LACuber
Great job Lucas! This is great, thanks!

15. ### TDMMember

6,819
99
Mar 7, 2013
Oxfordshire, UK
WCA:
2013MEND03
TDM028
Is there a way of using WCA notation for 4x4? (Or am I just being stupid and not seeing something obvious?)

16. ### Lucas GarronSuper-Duper ModeratorStaff Member

Well, depends what you mean.

Apart from bracketed rotations, alg.cubing.net is fully compatible with the current WCA notation because it accepts Rw as an alias for r: Rw U2 x Rw U2 Rw U2Rw' U2 Lw U2 Rw' U2Rw U2 Rw' U2 Rw'

However, the "old" WCA notation from alg.garron.us is no longer supported. The old notation had one main difference: lowercase moves exist, and have a different meaning from SiGN (r in old WCA notation in means 2R in SiGN). While this can be convenient for writing 4x4x4 algs with slice moves, this makes *any* big cube alg ambiguous if it contains lowercase moves, which is just confusing for everyone.

The last Regulations with that notation were in 2010. Lowercase moves didn't really have an official use, so we removed them in the 2013 Regulations. (We kept wide turns with a "w" at the end because this explicitly avoids any ambiguity.) This had the benefit of making it compatible with SiGN, which the community is fortunately moving towards.

So: yes, alg.cubing.net supports WCA notation, but it does not support the old notation.

(Anyone could easily create a version that does, but I would consider it counter-productive.)

Also: Once alg.garron.us starts redirecting to alg.cubing.net, old "WCA notation" algs will be translated to SiGN.

Last edited: Feb 28, 2014
17. ### TDMMember

6,819
99
Mar 7, 2013
Oxfordshire, UK
WCA:
2013MEND03
TDM028
I see. I just hate SiGN notation I guess I'll just have to learn/deal with it.

18. ### unsolvedMember

567
7
Mar 2, 2014
Doylestown, PA
Is there a catalog of algos, like the 4x4x4 parity wiki with so many presolved, ready-to-run links?

19. ### IQubicMember

185
2
Nov 10, 2012
Seattle, WA
WCA:
2014CASP01
Not that I am aware of.

-IQubic

Aug 1, 2011
Hungary
WCA:
2005HANT01