A spinner that keeps spinning

Andreas Bergendal andreas.bergendal at gmail.com
Tue May 2 11:23:23 EDT 2023


Hi all,

It has long annoyed me that the spinner widget doesn’t actually spin when you need it to - during lockScreen or when a database fetch blocks everything. Animated gifs are no better.

Inspired by some comment over at the forum, I embarked on building myself a tool for crafting spinners animated in browser widgets, as those would continue spinning in a heavenly layer of its own, no matter what traffic jams occur down on LC ground level… 

Of course the project grew bigger than initially planned, as they do, and is not finished yet, as they never are - but at least I have something good enough to use, and good enough to share (I think).

The stack is designed for use it in the LC IDE, to craft the spinner (or whatever animation you want) and then copy the browser widget (or just the htmlText) to wherever you want to use it. The code is completely self-sufficient (html and css all crammed in). 
One can obviously make any kind of repeating animation with it (within the limits of the current css animation lib), not only spinners. 

Here is a link to the gitHub rep:
https://github.com/wheninspace/WIS_BrowserAnimation

And here is a web deployment of it (LC10 dp5), just to prove that the resulting code also works on web.
https://wheninspace.com/browseranimation/
(Make sure to click the "Show examples” button to see some cool examples… :)

Please let me know if you find it useful (or how to improve it, if it isn't).

/Andreas


More information about the use-livecode mailing list