Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Woah, what are you using to render the brush strokes in The Uncoloring Book?


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. kind of distracting, but tolerable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: