I have an application where I want a user to be able to throw/flick an object across the screen. Essentially they would drag the element across the screen quickly and let go, then it would keep moving in the direction they dragged it in at the same speed, then slowing down until it stops.
Answers in any language, or pseudocode would be appreciated. Or if there is a name for this algorithm that you can point me to that would also be helpful. Thanks