Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input smoothing / post-processing #94

Open
intelfx opened this issue Jun 30, 2024 · 3 comments
Open

Input smoothing / post-processing #94

intelfx opened this issue Jun 30, 2024 · 3 comments

Comments

@intelfx
Copy link

intelfx commented Jun 30, 2024

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

Windows 10 snipping tool:
image


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.

@gabm
Copy link
Owner

gabm commented Jul 1, 2024

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!

@intelfx
Copy link
Author

intelfx commented Jul 1, 2024

Do you have any algorithmic reference for this?

No, I do not, sadly, otherwise this would have been a PR instead of an issue :)

@00-kat
Copy link
Contributor

00-kat commented Jul 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants