Live data from Hacker News

Every Frame Perfect

tonsky.me

21–30 of 293 posts

Re: Every Frame Perfect

#21

An app with no animations at all is going to feel terrible. You can test this out yourself, if you have an Android you can set animation speed to 0x in the developer settings. It is jarring to see instant changes and it actually takes your brain a second to process what happened, and that process is probably slower than having the animation in the first place. I have mine at 0.5x and that feels sufficient, still fast…

Not for me, I always turn off animations. It feels fine for me, and I can operate the phone a lot quicker without having to wait for animations to complete.

Re: Every Frame Perfect

#22

These seem like low-priority bugs to spend time on? Most apps have bigger problems.

These aren’t bugs in the traditional sense. They built the animation system to work like this, and replaced the old system that didn’t produce these psychedelic transition states.

Re: Every Frame Perfect

#23

An app with no animations at all is going to feel terrible. You can test this out yourself, if you have an Android you can set animation speed to 0x in the developer settings. It is jarring to see instant changes and it actually takes your brain a second to process what happened, and that process is probably slower than having the animation in the first place. I have mine at 0.5x and that feels sufficient, still fast…

Give it one day and you won't come back to those sluggish animations slowing your intent down.

Re: Every Frame Perfect

#24

An app with no animations at all is going to feel terrible. You can test this out yourself, if you have an Android you can set animation speed to 0x in the developer settings. It is jarring to see instant changes and it actually takes your brain a second to process what happened, and that process is probably slower than having the animation in the first place. I have mine at 0.5x and that feels sufficient, still fast…

Not for me, I always turn off animations. It feels fine for me, and I can operate the phone a lot quicker without having to wait for animations to complete.

I don't turn them off entirely, I kind of enjoy the feeling of momentum animated elements can provide, but I definitely do go in and speed them up massively. I find that when a phone is feeling unresponsive or sluggish, it's usually because I'm moving two steps ahead of the animation and it has to catch up. Feels like tripping on your own feet.

Re: Every Frame Perfect

#25
I think it's not uncommon for good animations to cheat a bit while in motion, rather than look perfect on every frame. Like how cartoons can use smear frames that look bizarre when paused at the wrong time but when viewed as part of a larger animation help sell the motion visually.

Re: Every Frame Perfect

#26

An app with no animations at all is going to feel terrible. You can test this out yourself, if you have an Android you can set animation speed to 0x in the developer settings. It is jarring to see instant changes and it actually takes your brain a second to process what happened, and that process is probably slower than having the animation in the first place. I have mine at 0.5x and that feels sufficient, still fast…

I'm a happy user of android with animations turned off. It's the only mean to make it somewhat "snappy". IMHO lag is always worse than lack of fancy transient state in input -> UI change context.

Re: Every Frame Perfect

#27

An app with no animations at all is going to feel terrible. You can test this out yourself, if you have an Android you can set animation speed to 0x in the developer settings. It is jarring to see instant changes and it actually takes your brain a second to process what happened, and that process is probably slower than having the animation in the first place. I have mine at 0.5x and that feels sufficient, still fast…

All animations are just wasted time while you can't properly interact with the UI, it's much better to just turn every one of them off.

Re: Every Frame Perfect

#28

I would love to understand these people, really! On a personal level, if thing works - I say, cool, lets focus on something else now. But I have worked with people who are similar to the author and we will get into the conversation: - they: wait, but the bundle size is 2.4Mb, it can be improved a lot - me: by how much? and we have 10k users/day and we have cache policy setup - they: we can reduce it to 1Mb, imagine s…

Broken windows theory

The issue with “premature optimization is bad” is that some see it as a permission to not optimize at all. Hence you eventually end up with a system where everything is bad.

Although for some of us being obsessive-compulsive weirdos this is the only way of life: an itch that keeps on physically scratching until resolved.

“Be guided by beauty. I really mean that. Pretty much everything I’ve done has had an aesthetic component, at least to me. Now you might think ‘well, building a company that’s trading bonds, what’s so aesthetic about that?’ But, what’s aesthetic about it is doing it right. Getting the right kind of people, and approaching the problem, and doing it right […] it’s a beautiful thing to do something right.”

Re: Every Frame Perfect

#29
post #13

I'd rather have an imperfect frame now than a perfect frame later. Latency should be the top priority for any UI, because when latency is low enough it feels like a part of your own body, which minimizes cognitive load. Animation is especially bad for this, because animations add hundreds of milliseconds of latency.

I think that's a false dichotomy. The examples the author gives would not be slower in any way if done correctly.

Re: Every Frame Perfect

#30
post #28

I would love to understand these people, really! On a personal level, if thing works - I say, cool, lets focus on something else now. But I have worked with people who are similar to the author and we will get into the conversation: - they: wait, but the bundle size is 2.4Mb, it can be improved a lot - me: by how much? and we have 10k users/day and we have cache policy setup - they: we can reduce it to 1Mb, imagine s…

Broken windows theory The issue with “premature optimization is bad” is that some see it as a permission to not optimize at all. Hence you eventually end up with a system where everything is bad. — Although for some of us being obsessive-compulsive weirdos this is the only way of life: an itch that keeps on physically scratching until resolved. “Be guided by beauty. I really mean that. Pretty much everything I’ve don…

> Broken windows theory

Absolutely, but on the other hand businesses operate with lots of broken windows as well, and they are fine with it.

Dilemma I am having is, on one side, business needs my best judgement for today and short term, because this is how most businesses survive, on the other hand, on a personal level I feel like I am stuck making non-perfect decisions, hence I can't even think about perfect world, because I am not training that part of my brain.

Post reply on HN