Settings

Theme

Perfect Freehand – Draw perfect pressure-sensitive freehand lines

perfectfreehand.com

153 points by NikxDa 4 months ago · 11 comments

Reader

paulgb 4 months ago

This is by Steve Ruiz of https://tldraw.com, in case anyone noticed the similarity between the two.

emmanueloga_ 4 months ago

Explanation of what this does:

https://github.com/steveruizok/perfect-freehand/tree/main?ta...

jmrm 4 months ago

I remember in the mid 2000s how some Xara Designer illustration software was able to do that, I don't know how isn't a more common thing (or maybe I don't know enough specialized software in that matter).

I remember well that program because it was available both for Windows and Linux, a really rare thing in that time.

trafnar 4 months ago

I was using this recently and found some situations where I didn't like the way the lines looked. Reading through the github comments from the author, it sounds like an improved version of this library is maintained within the tldraw codebase.

dvh 4 months ago

This one is better then previous posted earlier today, in that one I had trouble writing "B" without pointy tips.

mattbis 4 months ago

This is actually handy I was intending to try and make some logos, and I only mouse...

EDIT: However, I'm finding even with permissions a lot of these don't work to save to SVG...

Hmm I would need to fork it and fix it... maybe Inkscape is really the best option

  • m0zzie 4 months ago

    Use tldraw. Steve rolled the perfect freehand library into tldraw and the tldraw implementation has been improved since then IIRC. So you can get the same experience and easily grab an SVG.

AbuAssar 4 months ago

Related:

https://news.ycombinator.com/item?id=44915897

solarkraft 4 months ago

I remember caring about this when it was just a branch. Demonstrating this is possible on the web is pretty cool!

ksvarma 4 months ago

Great work Steve!!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection