Hacker News new | ask | show | jobs
by itsajoke 2233 days ago
I think I sussed out the secret sauce from that Benq website. They're using the experimental getCoalescedEvents [1] function to uncollapse the mouse events!

[1] https://developer.mozilla.org/en-US/docs/Web/API/PointerEven...

1 comments

I’ve seen some systems use a Bézier curve to a make a realistic stroke with limited data points.