Re:Write More "Useless" Software
by LoganDark on Thursday October 19, 2023 @03:53AM
(#37939818)
Woah, what are you using to render the brush strokes in The Uncoloring Book?
[ Parent
| on HN ]
Re:Write More "Useless" Software
by rpastuszak on Thursday October 19, 2023 @04:01AM
(#37939865)
Rendering is done via SVG (and a bit buggy), the stroke thickness is calculated via perfect-freehand (by Steve Ruiz, the guy behind tldraw)
> the stroke thickness is calculated via perfect-freehand
thank you! yeah I noticed the bugginess, the thing seems to be lagging behind my actual cursor because it tries to smooth things out to within a few % of the brush's radius. Really distracting but whatever.