Hacker News new | ask | show | jobs
by ajkjk 334 days ago
imo there just need to be a few more default easing functions, the standard ones aren't quite natural enough. There must be a standard curve equivalent to the "human pushing/pulling an object from A->B" function that would actually look natural. EaseIn/EaseOut/etc is never quite it; human motion has a bit of higher-order feedback used to regulate it. Maybe to do with the combination of: all the motion happens via muscular springs, plus, there's a well-trained system that regulates the motion to minimize inefficient use of energy. Whether I jerk suddenly and then stop it, or move it slowly so it smoothly decelerates to the final point, it never looks as mechanical as the stuff you see in code.
1 comments

And the parameters should be tied to reality as well like object weight, surface tension, hand strength, ...?
If you want? I don't care about the parameters, I just think the default functions should include some more sensible options that look less mechanical.