Speed (velocity) is distance per unit of time...so simply subtract the absolute value of the mouse position at start and end point, then divide by elapsed time. You can do it all with [mousestate] and [timer]. You could even use the delta outputs of [mousestate] to keep a running speed.
Hey Steve, the mouse data goes from 0. to 1. x and 0. 1. y but the user can go constantly anywhere between these to values.
I have a hard understanding how to constantly scan the new speed value for the movement, if you could send a short example patch that would be amazing!
I'm, currently drawing with the lcd patcher. I want to speed of the mouse movement to change the colour. Is it cool if I use your mousespeed patch? Will reference by providing a comment on the interface with a link to your posts...