-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Pen smoothing/stabilization #1251
Comments
What's your pen hardware ? I reckon this does affect smoothing somewhat (in particular higher refresh rates may increase jitter and maybe the curved mode is actually less good at higher pen input rates). I guess you've done a round of different solution you could try. If you have found one in particular that feels nice for some reason I'm interested to know which one. After looking at what you listed, I have a few notes and a few ideas, but nothing definitive I want to do.
As thing currently stand, the settings for the pen modeler are not tunable (mass and spring constants cannot be changed) so maybe that could be a first step. I have a few other ideas I want to try
In any case I need to collect some raw data + experiment a little and prototype/test it before deciding what's the best way to improve the model. I still want the end model not to force the user to write slowly (that's kinda the case on average method without catch up), and I also want to check where the end stroke ends up compared to the raw input data stream. There's other objectives that can end up here as well (like doing some compression on the fly to reduce file sizes). I'm pretty sure the modeler + app characteristics (input delay, fps) make it so that it's possible to deduce what app is used only from how the handwriting looks. |
I'm on a Lenovo Yoga X1 with an Active Pen 3. 60hz screen. The Yogas are pretty similar to the Microsoft Surface laptops.
Xournal++ has great pen smoothing (or input stabilization as they call it). My settings are a deadzone preprocessor of 2.5 and an averaging method of 'arithematic mean'. Their github issue #2320 is pretty in-depth. Krita overall has good stabilization as well, both the dynamic brush, where you adjust mass and drag (which might be similar to the mass and spring of the current modeler?), and the stabilization options for the default brush. It's open source so you could take a look and see how their stabilization engine works. Nonetheless I've never experienced 'bad' pen stabilization. Hope that helps. |
Please submit only one feature request in one issue!
If it is UI/UX related, don't post how a single aspect of the UI should be changed, rather in which use-case you felt
the UI is lacking or should be improved.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
The current path modeling is very good, but nonetheless, it picks up on my shaky hands and my handwriting gets unreadable. A way to stabilize or smooth the pen strokes as you are writing or drawing would be helpful to create cleaner handwriting.
Describe the solution you'd like
A clear and concise description of what you want to happen.
That strokes get smoothed as you are drawing, and that there are controls to change how much smoothing is applied.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Lazy Nezumi Pro, external application, costs money. Haven't been able to get it working.
Silky Shark, free alternative. Also have not been able to get it working.
Additional context
Add any other context or screenshots about the feature request here.
See opentoonz #81 for examples of pen stabilization and potential ways to implement. This was implemented as cubic Bezier curves in Lorien (lorien #89).
Not related to #531 as I'm looking for stabilization while writing, not after the fact.
The text was updated successfully, but these errors were encountered: