Hacker News new | past | comments | ask | show | jobs | submit login
Making SVG Loading Spinners: An Interactive Guide (fffuel.co)
86 points by debesyla on Feb 19, 2024 | hide | past | favorite | 12 comments



Don’t forget to apply the correct ARIA role to it (`progressbar`) when you use it in your application.

https://w3c.github.io/aria/#progressbar


One of the best examples of this was animated drawings that either the verge or engadget used in their Xbox and PlayStation reviews a few years ago.

I don’t know if anyone else remembers these.

But these really complex drawings were all animated by using stroke length.


Having trouble finding that, do you have a link?


No I tried looking for the post but couldn’t find it unfortunately.



Yes!! Thank you!! I guess it was polygon.


Animating graphics while loading were invented as a way to reassure the user that nothing was stalled, halted or crashed. Therefore, any loading graphic whose animation is not directly tied to the thing which is waited on (i.e. the loading of assets, the reticulating of splines, etc.) is fundamentally dishonest, and teaches users to distrust loading animations; that is, the reason they exist in the first place.


https://sims.fandom.com/wiki/Reticulating_splines

I honestly can't tell if you are joking.


I knowingly used the joke phrase as a stand-in for whatever processing one might have an animation for.


Sorry to disappoint you, but historically a majority of progress bars in UI have shown either fake progress or a huge jump between low and high % of completion.


I am well aware.


I like how the settings from each of the interactive components feed into the next one




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: