cubing / cubing.js

🛠 A library for displaying and working with twisty puzzles. Also currently home to the code for Twizzle.
https://js.cubing.net/cubing/
GNU General Public License v3.0
232 stars 42 forks source link

[Feature request] need a parameter to adjust speed of animation #318

Closed tosh1ue closed 5 months ago

tosh1ue commented 5 months ago

Goal

I'd like to adjust the speed of animation in twisty-player, but I didn't find the paramater for this.

Possible solution

If the paramater already exists, please tell me how to use it, since I did't find it in your doc for twisty-player.

Alternatives

No response

lgarron commented 5 months ago

You can either specify the tempo-scale attribute or set the tempoScale property:

https://codepen.io/lgarron/pen/NWJYBRM

tosh1ue commented 5 months ago

@lgarron Thanks for your work and your help