chrisbateman / impetus

Agnostic utility for adding momentum to anything. It's like iScroll, except not for scrolling. Supports mouse and touch events.
chrisbateman.github.io/impetus
MIT License
487 stars 70 forks source link

feature request: manually trigger momentum #10

Open verybigelephants opened 9 years ago

verybigelephants commented 9 years ago

it would be really cool if the plugin provided a public method for manual momentum trigger, by providing two tracking points

also, i really miss a way to halt the ongoing "stepDecelAnim" programatically

chrisbateman commented 8 years ago

@verybigelephants Sorry for the late response. You basically want to reproduce a mouse/touch movement artificially? Do you have an idea of what that might look like? Would it be as simple as providing an initial vector and velocity, or would it be more complex than that?

verybigelephants commented 8 years ago

yeah, i meant like some reference point and a vector