Animated siteswaps return!

Search posts
Forum index

 

Orinoco -

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

The Void - - Наверх

Ah, I wondered when/why that broke. Good to see it back. Well done Orin/Tom

The Void - - Наверх

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.

Orinoco - - Наверх

It shouldn't do...

http://example.com/531 (bare url)
a 531 in an html link
a 531 in link text

Orinoco - - Наверх

& apparently doesn't, do you have an example?

The Void - - Наверх

The url within this post https://jugglingedge.com/forum.php?ThreadID=2287#Small16557 has 2015 highlighted.

Orinoco - - Наверх

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.

Orinoco - - Наверх

...& 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.

Orinoco - - Наверх

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

Orinoco - - Наверх

Weird indeed. I will have to investigate further as it is working on all my devices.

 

Подписаться на этот форум через RSS
1 статья в ветке
1 статья в посте

Статистика форума