Spring physics-based animations #10714
Unanswered
neelkarma
asked this question in
Feature requests - Renderer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Adding a new
spring
keyword, similar to thebezier
keyword, that can define physics-based springs and be used in place of bezier curves for animations. Parameters would include stiffness and damping values (optionally mass, although equivalent effects can be achieved by modifying stiffness and damping)Why would it be beneficial
Mainly because touchpad swipe gestures would feel a lot nicer, since the animation would inherit the swipe velocity rather than abruptly shifting to the bezier curve velocity upon release. Also, an interesting side effect is that the animation can briefly overshoot if you swipe quickly, and not if you swipe slowly, which simply feels amazing in my opinion (kinda similar to how iPhones switch between open apps when swiping along the bottom bar).
Beta Was this translation helpful? Give feedback.
All reactions