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 - - Parent

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

The Void - - Parent

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 - - Parent

It shouldn't do...

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

Orinoco - - Parent

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

The Void - - Parent

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

Orinoco - - Parent

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 - - Parent

...& now accepting pattern input via the URL:

https://jugglingedge.com/help/siteswapanimator.php?Pattern=67363

Ilia Poliakov - - Parent

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 - - Parent

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 - - Parent

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 - - Parent

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 - - Parent

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

 

Subscribe to this forum via RSS
1 article per branch
1 article per post

Forum stats