question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Perfect Freehand Drawing

See original GitHub issue

This issue has been moved over from the Obsidian Excalidraw Plugin

Handwriting using Freedraw has now become feasible due to the palm rejection feature, however I still found handwriting to feel awkward and unreliable on iPad. The smoothing feels way too strong, and I get too many errors (for example the top two points of a U will often connect). I tried this perfect-freehand demo (GitHub), and immediately found it way more comfortable to use. It would be great if Excalidraw would be able to offer support for a similar style of freedraw, or an option to manually adjust the smoothing of the pen to make it more comfortable!

Weirdly the demo linked on the GitHub does not feel as great as the demo I’ve linked above 🤔

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
baptistecommented, Apr 3, 2022

Is there a chance to expose (optionally) some of those control settings in Excalidraw? I’m having trouble writing equations in Excalidraw, especially with the Apple Pencil, because the settings are a bit too strong (for me) – things like the dot on

Screenshot 2022-04-04 at 08 15 55

just don’t get drawn at all on my tablet, and the overall feel is much less natural than with the freehand playground.

0reactions
kwettercommented, Oct 28, 2022

Whats the status on this regarding the performance of pen drawing in excalidraw? To add on this I experience a lot of lag when drawing with pen in the Excalidraw Obsidian Plugin. Its better if I reduce the window size and its even more fluid when I use the in-browser excalidraw app, but there’s still slight lag, especially when there are many strokes. The perfect freehand browser app shows no or neglectable lag. Is this still something that’s being looked into?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Draw perfect pressure-sensitive freehand lines. - GitHub
To do this work, getStroke first creates a set of spline points (red) based on the input points (grey) and then creates outline...
Read more >
perfect-freehand - npm
Draw perfect pressure-sensitive freehand strokes. ... Start using perfect-freehand in your project by running `npm i perfect-freehand`.
Read more >
perfect-freehand examples - CodeSandbox
Learn how to use perfect-freehand by viewing and forking perfect-freehand example apps on CodeSandbox. ... yjs-multiplayer-drawing-app-forked.
Read more >
Draw perfect pressure-sensitive freehand lines - Bram.us
Draw perfect pressure-sensitive freehand lines. The results are stunning imo. In the recording above you can see me write hello using the ...
Read more >
"Perfect freehand" drawing tool - Pixelmator Community
Hit "2" key to select a Brush tool and make some strokes. You will notice it uses a very interesting (opinionated) algorythm to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found