Live data from Hacker News

Lazy-brush – smooth drawing with mouse or finger

lazybrush.dulnan.net

61–70 of 83 posts

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

#63
post #20
post #14

Earlier quoted context omitted.

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

That's also what a pen does, but we haven't banned pens. Don't forge signatures, it's illegal.

Stop, you are making too much sense. /s

(I honestly am baffled that things like this have to be said.)

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

#64
post #20

Earlier quoted context omitted.

That's also what a pen does, but we haven't banned pens. Don't forge signatures, it's illegal.

Stop, you are making too much sense. /s (I honestly am baffled that things like this have to be said.)

Me too, but alas, they do :(

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

#65

Very nice! I love the way the leash droops from gravity when you give it some slack, to unobtrusively and intuitively show users what's really going on, how the control system actually works, so it's tangible and physical, not a mysterious unpredictable black box. True honest wysiwyg "direct manipulation", no invisible magic. https://en.wikipedia.org/wiki/Direct_manipulation_interface It reminds me of artist/engineer…

Was looking for the DynaDraw shoutout. As a calligrapher, it’s the way to go for something more expressive than fixed lag.

Haeberli used a simple simulation of Hookes law, Where F=-kx F is the force applied to the spring. k is spring constant or stiffness. x is extension distance.

DynaDraw also added damping IIRC

Thx for the links

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

#68
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/

That looks much better indeed, wasn't able to write anything with the OP's library.

The OP's library gas settings if you scroll down. I found these values work well on my phone: 20, 0.05, 5

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

#70
post #58
post #8

Check out drawmote from the same author, where this library is being used. https://drawmote.app/

This works shockingly well. And apparently without asking any permissions on the phone. What sorcery is this?

It asked me for permissions, in fact it had a pop up I had to click for it to ask for perms and then I got the system dialogue.
Post reply on HN