Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A generalized version of this is Hooke's Law, also known as the spring function. It works well for UI animation because it maintains velocity as the target x changes, instead of stopping/restarting like an eased tween would.


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

Search: