Animated siteswaps return!
We now have a spangly new Siteswap animator. For those of you with the highlight siteswaps option enabled you will now see the return of random green links in posts like this one: 645 (you may need to do some cache clearing).
Fortunately the awesome Tom Whitfield at https://juggling-records.com did the hard work for me. Tom has been good enough to allow me to reuse his code here. I've fixed a minor bug, stripped out a lot of features that don't make much sense for the Edge & done some optimisation to make it run faster. It's still a bit choppy on low powered devices with no GPU acceleration but it's still usable.
Now that Meta is dead, I have no way of checking if I've asked things before. But since this is a re-instituted and rejigged feature... I don't think valid siteswaps should be highlighted if they're within a URL.
The url within this post https://jugglingedge.com/forum.php?ThreadID=2287#Small16557 has 2015 highlighted.
Reparsing the message fixes the problem, I do remember fixing the problem at some point so it must have been sometime between 2015 & now. I'll have a look at writing a routine to pick up old messages that need reparsing tomorrow.
...& now accepting pattern input via the URL:
Hi! I tried to write passing pattern - it doesn't work.
Will you make update?
And about juggling-records... it's so strange that we have two similar sites with juggling records and somebody use one, somebody - other. I hope, you will cooperate and make one best juggling resource.
I'm afraid passing pattern support is way beyond the capabilities of this script. You are much better off using a dedicated program like Jongl or JoePass!
Tom & I already cooperate, he has obviously allowed me to use his code & I've sent him my bug fixes. Personally I think having multiple sites is a good thing. Monocultures make the web a very dull place. We've both taken different approaches & have produced two different sites.
Okay, maybe. On juggling-records.com i try to input my records from juggling edge and it doesn't work.
I didn't find Tom's contact, so please write it to him.
There is some weird scaling going on when opening the animator on my Android Chrome.
If I click a siteswap in your post:
If I go to the animator page and enter a siteswap (zoomed out as much as possible otherwise nothing was visible)
Подписаться на этот форум через RSS
1 статья в ветке
1 статья в посте