|
True. Thanks for pointing that out. To do what you suggest one has to check for incremental changes in the distance over time using mouseDragged events rather then simple total distance and total time elapsed between mousePressed and mouseReleased. This is what you would want to look into for production code, but it seemed unnecesarily complicated for just showing the effect in the article. |