Open intelfx opened 5 days ago
nice idea, i fully support this. Do you have any algorithmic reference for this?
If you want to work on that, I can give you a headstart!
Do you have any algorithmic reference for this?
No, I do not, sadly, otherwise this would have been a PR instead of an issue :)
Grabbing a bunch of points and drawing a spline through them might work. I don't know how it's actually done though, this is just a guess.
It would be nice if satty could implement mouse input post-processing (e.g. smoothing) similar to the way Windows snipping tool "prettifies" the mouse-drawn input.
Compare (deliberately sloppy) attempts to draw an ellipse with a laptop touchpad with Satty and with Windows 10 snipping tool (Win + Shift + S):
Satty:![image](https://github.com/gabm/Satty/assets/1158172/8335175c-d0a1-4883-98db-8be49830b971)
Windows 10 snipping tool:![image](https://github.com/gabm/Satty/assets/1158172/4d3e9db0-4439-4412-9a05-d093ba339173)
Note that this Windows 10 instance is running in a VM using host input, so there should be no difference due to e.g. touchpad drivers — the Windows app received exactly same input events as a Linux application would have in its place.