steveruizok / perfect-freehand

Draw perfect pressure-sensitive freehand lines.
https://perfectfreehand.com
MIT License
4.52k stars 159 forks source link

Update example to use PointerEvent.getCoalescedEvents() #51

Closed nmorel closed 1 year ago

nmorel commented 2 years ago

Not sure if that's what you wanted here : https://twitter.com/steveruizok/status/1544721018849267713?s=20&t=fz7suWDKWlsPQrvbLClMHg 🙂
The "editor" inside packages/dev uses tldraw to handle the pointer events so I only updated the readme and the codesandbox.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
perfect-freehand-example ✅ Ready (Inspect) Visit Preview Jul 6, 2022 at 8:18PM (UTC)
pf-dev ✅ Ready (Inspect) Visit Preview Jul 6, 2022 at 8:18PM (UTC)
steveruizok commented 1 year ago

Thanks for the PR. I'm going to close because I don't have capacity to review the impact of adding more points to this algorithm. We've done some work on this on tldraw.com's fork of the library, and may bring those changes back to the library once stable.