alg.cubing.net icon indicating copy to clipboard operation
alg.cubing.net copied to clipboard

For playback mode start with current move 0

Open baco opened this issue 5 years ago • 4 comments

Instead of starting at the end of the animation, for playback mode and type=alg make the link load on the first move; or at least allow specifying the current_move on the URL

baco avatar Jul 05 '19 00:07 baco

I'm surprised this is still not an available feature. Are there no workarounds to be able to start at the beginning of playback? It seems like this would be a much more sane default.

psifertex avatar Jul 13 '20 01:07 psifertex

Are there no workarounds to be able to start at the beginning of playback? It seems like this would be a much more sane default.

It definitely would. This will all work correctly in v2, which is getting pretty close now!

lgarron avatar Jul 13 '20 04:07 lgarron

That's great to hear. Is it in a branch I could check out or even contribute to if it would be helpful?

I just checked and "v2" hasn't been touched in years if I'm reading it right.

psifertex avatar Jul 13 '20 05:07 psifertex

That's great to hear. Is it in a branch I could check out or even contribute to if it would be helpful?

I just checked and "v2" hasn't been touched in years if I'm reading it right.

I have to finish a major refactoring before the timeline code is ready to handle things like this. v2 is currently being developed inside the cubing.js repo at https://github.com/cubing/cubing.js/tree/main/app/alg.cubing.net

Apologies, this isn't at all obvious, and it needs a few more important things before it's easy for someone new to contribute. But hopefully that day will come soon!

If you do want to tinker, though, the instructions at https://github.com/cubing/cubing.js#development should work!

lgarron avatar Jul 14 '20 23:07 lgarron