This is a simple code to use Kalman filter to track the mouse position. The code uses tkinter as a GUI designer.
Idea source and credit:
Richard Teammco's JavaScript code and Irmen de Jong for the animated canvas engine.
A Chinese description about the Kalman filter by me can be found on my Zhihu.
Copyright (c) 2019 by Yanfei Tang ([email protected]). Open source software license: MIT