perfect-freehand
perfect-freehand copied to clipboard
Draw perfect pressure-sensitive freehand lines.
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...
All of my lines in my canvas change color when i change for one line. this is how i set color for line. in my uselayoutEffect i add this line...
As i mentioned in https://github.com/excalidraw/excalidraw/issues/4802#issuecomment-1145413251 Moving cursor in opposite direction while drawing makes these weird dots, much more common on wacom tablet for some reason freehand playground  freehand playground...
See images below  
https://github.com/steveruizok/perfect-freehand/issues/48#issue-1260694029 Look at the above gif. The backtracking still creates dots on the end of lines. 
``` $ node --version v18.19.0 $ yarn --version 1.22.21 $ yarn start yarn run v1.22.21 $ lerna run start --stream --parallel lerna notice cli v3.22.1 lerna info Executing command in...
I've been getting the error below in my Sveltekit project: ``` SyntaxError: Unexpected token 'export' at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1153:20) at Module._compile (node:internal/modules/cjs/loader:1205:27) at Module._extensions..js (node:internal/modules/cjs/loader:1295:10) at Module.load (node:internal/modules/cjs/loader:1091:32)...
 I have an option for getStroke but the resulting stroke doesn't feel smooth. ``` const options = { size: 3, thinning: 0.2, smoothing: 1, streamline: 0.1, easing: (t) =>...
Hi @steveruizok! Firstly, thanks for your amazing work on the `perfect-freehand` itself and on `tldraw;` βΒ it's been exciting to see and try with all the recent AI features. Just...