2 ms·
Woah, what are you using to render the brush strokes in The Uncoloring Book?
by LoganDark 3y ago
Woah, what are you using to render the brush strokes in The Uncoloring Book?
- rpastuszak 3y agoRendering is done via SVG (and a bit buggy), the stroke thickness is calculated via perfect-freehand (by Steve Ruiz, the guy behind tldraw)
- LoganDark 3y ago> 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.