Trying to mimic the Android undismissable notification movement.
Not sure if this is an ideal place to ask or if it's more of a general animation/physicsy type question.
I've been goofing around with something here: http://codepen.io/TechRomancer/pen/yJLKrB
Basically I'm trying to mimic the way that an undismissable notification, in android, behaves. So that I can use it when dragging each chat card right to a maximum x position.
Essentially it has a maximum distance it can travel, and will sort of ease into that position.
By that I mean, when it is dragged it will travel more and more slowly until reaching it's maximum x position.
Sort of like this here: https://gfycat.com/NaiveDishonestHermitcrab
Notice how the speed the card moves slows until it stops.
Note: I'm dragon at a constant speed.
If anybody has any advice on how this could potentially be achieved I would much appreciate it.
Edit: on mobile this doesn't make a huge difference as the card can't really be dragged very far anyway but it would be interesting to know what this pattern is called and how to mimic it anyway.
Posted May 31, 2016, 12:26 AM UTC