It's a good article. But the article's title is clickbait considering the author is an animation zealot promoting their animation products in the article and linking to their animation course at the end.
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
As a rule of thumb, UI animations should generally stay under 300ms.
Android designers should follow this, I always have to enable developer mode and toggle animation speeds to 0.5x or disable it entirely because the default is annoyingly slow.
And this has been a dev setting for over a decade, it wouldn't hurt them to make animation speed selection available to users without this silly dev mode hoop.
As a rule of thumb, UI animations should generally stay under 300ms.
My observtion too, since i fiddled with a registry key for Windows 7' taskbar autohide. Default was 400 ms and 300 ms felt way snappier, 0 ms even more so.
I use KDE and I set the animation speed to - as fast as the monitor can make it look like an animation.
When I minimise/maximise a window, all I want is to have enough feedback to tell me that the action happened and if 20 frames can do that, I don't need 50.
I disabled all animations in Android after the recent announcement of a vulnerability in which invisible animations could be used to trick users into unwitting actions. The sudden transitions without animation were a bit odd at first, but I was surprised how much faster and more responsive the phone feels with animations turned off. I like it better this way and feel no need to turn them back on.
The important thing the article is missing, is that you should always respect the prefers-reduced-motion setting. Some people just don't like animations; either because they are distracting, or because they don't want to waste battery/cpu on useless things (looking at you, spotify player, using 15% of my cpu for some animated bars...)
My pet peeve is websites animating in content at page load like data charts. Just show the dang chart, don't animate a bar chart unless new data is being added to show real-time content.