Closed Kimaker closed 10 years ago
Um it's not super easy, because of the way the data is stored. There's Touch.xSpeed
and Touch.ySpeed
. There's also Touch.getPath()
, which returns a vector of TuioPoints, which have time data.
Yes! Touch.xSpeed and Touch.ySpeed are perfect, but they don't seem appear in the reference of the library. Thank you again!
You're welcome :).
Are you going to write a tutorial explaining this @kiwistrongis ?
It's covered in the fourth basic tutorial already: http://kalev.io/smt/tutorial/four.php I could have mentioned the xSpeed and ySpeed bit, but I don't like them... I guess I'll add them in.
Hello. Sorry to bother you again. Is it possible to get a previous coordonate of a touch? Like the objects pmouseX or pmouseY in Processing? I found some touch getPathpoints(), but I would like pick the only previous value.