News for hackers. Stuff that matters.
Re:You Don't Need Animations by tomxor on Friday September 05, 2025 @05:00PM (#45143544)
> Could the user have trouble perceiving the change in state that just occurred? If so, then use an animation to help them visualize what happened

I think this is the only justified use of animation in UI, however I wasn't satisfied with the dilemma of increasing perceived transition while increasing perceived UI latency.

I found it's possible to get the best of both for event triggered state changes i.e clicking on stuff, by sticking to ease-out based transitions, where the start of the transition is instant and the end decelerates.

This makes it feel just as snappy as no animation, while still helping to communicate a transition, because we are more sensitive to the latency of the start of the transition when it's an event - since we are anticipating a reaction, which is satisfied as soon as it starts to react.

Re:You Don't Need Animations by jakelazaroff on Friday September 05, 2025 @10:56PM (#45146236)
> I found it's possible to get the best of both for event triggered state changes i.e clicking on stuff, by sticking to ease-out based transitions, where the start of the transition is instant and the end decelerates.

I feel the opposite way: ease-out usually makes things feel sluggish and unnatural.

Lean Rada makes a pretty compelling case here for ease-in: https://leanrada.com/notes/stop-using-ease-out/