Does anyone have recommendations/resources (blogs,...
# thinking-together
j
Does anyone have recommendations/resources (blogs, papers, implementations, etc.) on rendering hand drawn curves? Currently I'm just going from a raw list of cursor positions to a simplified list of Bezier curves using Schnieder's algorithm. I want to try using pressure/tilt values from a cheap drawing tablet to draw more "natural" curves, but I don't currently have the vocabulary to find what work has been done in this area. Also interested in any adjacent UX ideas for this type of interaction :)
c
Definitely check out Steve Ruiz's
perfect-freehand
library https://github.com/steveruizok/perfect-freehand
j
@Christopher Shank thanks! This led me to https://microbians.com/math/Gabriel_Suchowolski_Quadratic_bezier_offsetting_with_selective_subdivision.pdf, which Steve mentioned as a resource he used. This definitely gives me enough to go one
j
Doing subdivision over a set of points, then plotting curves along those points is my standard method for this 👍🏻
(Various types of Bezier are fine, but if they look forced to you check out Hobby curves)
j
Hobby curves look really nice for simple curve manipulation! (found a nice live demo from Jake Low) I'll have to keep that in mind if I end up wanting to manipulate the curves after drawing