4 ms·
The dead-reckoning algorithm seems to do well when moving in a straight line but my impression is that it does worse if there are curves because it veers oursid
by ufo 7y ago
The dead-reckoning algorithm seems to do well when moving in a straight line but my impression is that it does worse if there are curves because it veers ourside the path that mouse actually traced. For example, when moving the mouse in a circle the predicted squaretrace appears to move in a circle with a larger radius.
What kind of algorithm could be used to improve the accuracy for curves?
- aidenn0 7y agoFor just ellipses (which includes circles), a 2nd derivative prediction will work perfectly. Obviously there are paths that are not predictable though