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).
Originally I used the jugglinglab java applet, but replaced that with the siteswapbot.com service when most browsers stopped supporting java by default. When siteswapbot.com disappeared I disabled the feature & started looking at a lightweight javascript canvas based alternative that I can control.
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.
#NewFeature
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.
It shouldn't do...
http://example.com/531 (bare url)
a 531 in an html link
a 531 in link text
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:
https://jugglingedge.com/help/siteswapanimator.php?Pattern=67363
Ilia Poliakov - - Наверх #
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.
Ilia Poliakov - - Наверх #
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.
Daniel Simu - - Наверх #
Nice feature!
There is some weird scaling going on when opening the animator on my Android Chrome.
If I click a siteswap in your post:
https://i.imgur.com/Fqlz9kC.jpg
If I go to the animator page and enter a siteswap (zoomed out as much as possible otherwise nothing was visible)
https://i.imgur.com/j49O0a0.jpg
Подписаться на этот форум через RSS
1 статья в ветке
1 статья в посте