Could the plugin support stylus input and smoother handwriting? #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
First of all, I really enjoy using this plugin — it nicely fills the gap that SiYuan currently has regarding handwritten annotations, and it has greatly improved my workflow efficiency. Thank you for your hard work in making this possible!
That said, I’ve noticed a few areas where the experience could be further improved:
When I write on my Samsung tablet, the handwriting sometimes feels a bit laggy or delayed.
Additionally, finger touch and stylus input are treated the same, which affects the overall handwriting experience.
I also noticed that another widget for SiYuan, Whiteboard (which is based on Excalidraw), can automatically detect stylus input and even supports pressure sensitivity. I’m not sure about the technical difficulty of implementing this, but I feel that similar functionality would significantly enhance the usability of this plugin.
Regardless, I truly appreciate the effort you’ve already put into developing this tool. Thank you again for your great work!
Thanks for the feedback!
Unfortunately, I don't have an Android tablet with a stylus (I use a Wacom), so I'm going to need a bit of help from you to confirm a couple of things.
First off, open a whiteboard, then open the "Pan" settings in the toolbar (hand icon) and click "Scroll with touch". Does this fix the issue of the finger and stylus being treated as the same?
Then, select the active pen, and check if "Pressure" is enabled. If it's highlighted, it means it is. Then try to see if the pressure is detected correctly.
If the tests fail, please repeat them, using the same device, in https://js-draw.web.app/. Use Google Chrome (or a Chromium-based browser). To get a drawing board, click "New" in the bottom-right corner, then select any background option.
Thanks!
@massivebox wrote in #15 (comment):
Great! I followed your instructions and everything worked correctly. Although the pressure sensitivity feels rather basic — it adjusts the thickness of the entire stroke instead of varying within parts of it — it’s already a huge improvement over the previous experience!
The behavior of stroke sensitivity is not consistent with what I see on my Wacom tablet, where the thickness of the stroke changes for every node.
Are you drawing a shape (circle, rectangle, line) or using the freehand drawing?
Does the same happen on https://js-draw.web.app/ ?
Thanks!