Demo in FunStuff/Demos/Type340/fastLpDemo.am1.
This came out of my research on Sutherland's sketchpad.
It turned into a major effort involving Claude making an attempt and me throwing that all away and writing from scratch myself. AI doesn't always rock.
It filters lightpen coordinates using two exponential moving average filters, one for velocity tracking and the other a dual slope version for acceleration and
deceleration tracking, feeding a nonlinear movement predictor to get
new coordinates. No wonder stability was hard.
This lets the lightpen move much faster without losing tracking lock.
It took forever to get it stable. Well, I found out afterwards the Sutherland tried
the same approach and abandoned it because he couldn't get his to stay stable.
I did by adding some 'it went bonkers, get it sane again' monitors. Where's my Turing Award?
Now back to my sketchpad effort, which is even more monumental.
Bill