Mathematics, Fourier Transform, Image Processing, Numpy.
where balls once were. It turns out that optical mouse is equipped with a crude camera (e.g. 18 x 18 B&W photodiode array) taking pictures at high speed. The mouse deduces the speed and direction by comparing the location of the same surface texture in pictures taken at successive times. It’s too