Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

detecting circular motion of pointer  RSS feed

 
Christopher Arthur
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a preset way to do this?

Suppose the user moves his finger in a circular motion on the laptop touchpad, and we want to know the average angular velocity of this motion. I have some mathematical ideas that involve an analysis of position and time, but I am thinking that some experimenting is necessary to know how many points are needed to get a control that feels smooth.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!