8000 Input smoothing / post-processing · Issue #94 · gabm/Satty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Input smoothing / post-processing #94

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

Closed
intelfx opened this issue Jun 30, 2024 · 4 comments · Fixed by #182
Closed

Input smoothing / post-processing #94

intelfx opened this issue Jun 30, 2024 · 4 comments · Fixed by #182

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.

@vimmerru
Copy link
vimmerru commented Jan 9, 2025

Do you have any algorithmic reference for this?

Seems here is the solution https://google.github.io/ink-stroke-modeler/. You can check rnote for reference of usage for this case.

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

Successfully merging a pull request may close this issue.

4 participants
0