Live data from Hacker News

Lazy-brush – smooth drawing with mouse or finger

lazybrush.dulnan.net

21–30 of 83 posts

Re: Lazy-brush – smooth drawing with mouse or finger

#22
post #14
post #13

An alternative that works very well for signatures too is Perfect Freehand (by the guy behind TLDRaw) https://perfect-freehand-example.vercel.app/

Is it allowed to modify the signature someone puts digitally on a document? Because that's what this does. Is that not an issue?

What makes you say the library is modifying the signature? (It’s not)

Re: Lazy-brush – smooth drawing with mouse or finger

#24
post #4

Earlier quoted context omitted.

> this kind of resistance in a UI it can be confusing it's actually intuitive because it mimics a real life physical dragging of an object by a rope, which most people have a feel for. Skeuomorphism can be quite intuitive imho.

Try drawing your signature with it and see how intuitive it feels.

It’s not a tool for signatures. It’s also hard to sign documents with a paint roller.

But this UI is much better at, e.g. drawing a smooth, symmetrical heart symbol, with a crisp turn.

Different UI for different tasks, and it’s very cool to see something that intuitively lets you control something that is normally hidden under your finger.

Re: Lazy-brush – smooth drawing with mouse or finger

#25

Wow, this is amazing! I see you've been building this on GitHub for 7 years - that's truly impressive dedication. What keeps you motivated to stick with this product for so long?

Not to speak for OP, and this library is very cool, but:

It’s ~20 commits done in two batches. 2018 for the initial release then some more work on it in 2023.

Zastai: you could have that kind of progress on any lib you wish to release, and it’s a nice feeling to have something out in the wild.

Re: Lazy-brush – smooth drawing with mouse or finger

#26
This is very nice, not just for finger/mouse painting! I tried it on my Cintiq and it was actually a lot better for me than brush stabilization usually is - I think the logic is the same as seen in e.g. Krita, but the visualization of the cursor and where the paint will appear is very helpful. Usually painting software doesn't have such an indicator of where the actual stroke will be placed and when it will move.

Re: Lazy-brush – smooth drawing with mouse or finger

#27
post #16
post #2

This is so satisfying. These types of experiments are something I really love about the open-web, and part of what bums me out about how most social networks tend to throttle links. The dragging behavior is so intuitive – it's funny because usually if you create this kind of resistance in a UI it can be confusing, but in this context it works so well.

This a very nice web implementation of a feature that exists since probably forever in most graphics software.

I don't think I've ever seen this feature ever before (keeping in mind that the purpose of the tool is to draw smooth lines, and there would probably be another tool for drawing signatures). It's quite brilliant!

Re: Lazy-brush – smooth drawing with mouse or finger

#28

I believe a logic similar to this was used to enact the "Gestures" system in Black and White 1. Breaking down the mouse-movements into vectors following a guide-point. ( https://blackandwhite.fandom.com/wiki/Gesture ).

Damn, what a flashback. I forgot about that game, it was quite something for its time. I remember the gesture spell casting system not working very consistently, but it was still a ton of fun.

Re: Lazy-brush – smooth drawing with mouse or finger

#30
post #14
post #13

An alternative that works very well for signatures too is Perfect Freehand (by the guy behind TLDRaw) https://perfect-freehand-example.vercel.app/

Is it allowed to modify the signature someone puts digitally on a document? Because that's what this does. Is that not an issue?

Have you met Preview's Tools > Annotate > Signature?

If you're concerned about people modifying a document after you share it out, consider using a digital signature or a hash.

Post reply on HN